Skip to content

Commit

Permalink
fix funtional test
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanZhengYP committed Jan 10, 2019
1 parent a1c0370 commit 8e2da99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/publisher/functional_test/runner.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ describe('run functional test', () => {

afterEach(async () => {
process.env = processEnvBackup;
AWS.Service.prototype.publisher = undefined;
});

for (const scenario of schemes.cases) {
Expand All @@ -39,7 +40,6 @@ describe('run functional test', () => {
process.env = Object.assign({}, process.env, scenarioConfiguration.environmentVariables);

const resolvedCSMConfig = csmConfigProvider();
AWS.Service.prototype.publisher = new Publisher(resolvedCSMConfig);

//start a subprocess to echo back the udp datagrams
let fakeAgent = await agentStart(resolvedCSMConfig.port || 31000);
Expand Down

0 comments on commit 8e2da99

Please sign in to comment.