Skip to content

Commit b1efee6

Browse files
bretambroseBret Ambrose
authored andcommitted
Make the flaky eventstream test match the endpoint properties of the seemingly reliable MQTT5 test (#660)
1 parent bb2ab19 commit b1efee6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/native/eventstream.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {once} from "events";
99
import crt_native from "./binding";
1010
import * as os from "os";
1111

12-
jest.setTimeout(10000);
12+
jest.setTimeout(30000);
1313

1414
function hasEchoServerEnvironment() : boolean {
1515
if (process.env.AWS_TEST_EVENT_STREAM_ECHO_SERVER_HOST === undefined) {
@@ -106,7 +106,7 @@ async function doConnectionFailureTest(config : eventstream.ClientConnectionOpti
106106

107107
test('Eventstream transport connection failure echo server - bad host', async () => {
108108
let badConfig : eventstream.ClientConnectionOptions = makeGoodConfig();
109-
badConfig.hostName = "derp.notarealdomainseriously.org";
109+
badConfig.hostName = "localhst";
110110

111111
await doConnectionFailureTest(badConfig);
112112
});

0 commit comments

Comments
 (0)