Skip to content
This repository has been archived by the owner on Jul 6, 2018. It is now read-only.

Commit

Permalink
http2: remove test-async-wrap-check-providers (Squash)
Browse files Browse the repository at this point in the history
Following rebase, test file is no longer needed

also: TEMPORARY... allow the test-async-wrap-getasyncid to pass
by skipping the http2 specific bits
  • Loading branch information
jasnell committed May 31, 2017
1 parent 3c6b987 commit 1dc30e5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 143 deletions.
143 changes: 0 additions & 143 deletions test/parallel/test-async-wrap-check-providers.js

This file was deleted.

5 changes: 5 additions & 0 deletions test/parallel/test-async-wrap-getasyncid.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ const providers = Object.assign({}, process.binding('async_wrap').Providers);
process.removeAllListeners('uncaughtException');
hooks.disable();
delete providers.NONE; // Should never be used.

// TODO(jasnell): Test for these
delete providers.HTTP2SESSION;
delete providers.HTTP2SESSIONSHUTDOWNWRAP;

const obj_keys = Object.keys(providers);
if (obj_keys.length > 0)
process._rawDebug(obj_keys);
Expand Down

0 comments on commit 1dc30e5

Please sign in to comment.