Skip to content

Commit 4aad3bf

Browse files
authored
testkit-backend: add support to the StartTest message (#695)
This protocol message is used to decide which test should run or skip, the lack of implementation of this protocol message make the testkit fails.
1 parent 0a1add8 commit 4aad3bf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

testkit-backend/src/request-handlers.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,3 +212,8 @@ export function SessionWriteTransaction (context, data, wire) {
212212
.then(_ => wire.writeResponse('RetryableDone', null))
213213
.catch(error => wire.writeError(error))
214214
}
215+
216+
export function StartTest (_, { testName }, wire) {
217+
console.log(`>>> Starting test ${testName}`)
218+
wire.writeResponse('RunTest', null)
219+
}

0 commit comments

Comments
 (0)