Skip to content

Commit e549720

Browse files
committed
Fix testbed restart
1 parent 6056e26 commit e549720

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/framework/Testee.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export class Testee { // TODO unified with testbed interface
111111
this.timeout(testee.connector.timeout(testee.specification.type));
112112
let compiled: CompileOutput = await new CompilerFactory(WABT).pickCompiler(description.program).compile(description.program);
113113
try {
114-
await testee.testbed!.sendRequest(new SourceMap.Mapping(), Message.updateModule(compiled.file));
114+
await timeout<Object | void>(`uploading module`, testee.timeout, testee.testbed!.sendRequest(new SourceMap.Mapping(), Message.updateModule(compiled.file)));
115115
} catch (e) {
116116
await testee.initialize(description.program, description.args ?? []);
117117
}

0 commit comments

Comments
 (0)