We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 915c33f commit 024bc4eCopy full SHA for 024bc4e
1 file changed
library/sources/PubSub.test.ts
@@ -8,6 +8,9 @@ t.test("it works", async () => {
8
agent.start([new PubSubWrapper()]);
9
10
process.env.PUBSUB_EMULATOR_HOST = "127.0.0.1:8085";
11
+ // Do not try to ping the Google Cloud Platform (GCP) metadata server
12
+ // This causes the tap tests to not exit cleanly, if a HTTP proxy is used
13
+ // https://github.com/googleapis/google-cloud-node-core/blob/caf493f6e55cf8a6778ddf46d8d02f2013d7a1be/packages/gcp-metadata/README.md#environment-variables
14
process.env.METADATA_SERVER_DETECTION = "none";
15
16
const projectId = "sample-project";
0 commit comments