From c824420288c9addfec74820aa53c4e5ccf70025e Mon Sep 17 00:00:00 2001 From: Antonio Barcelos Date: Mon, 29 Mar 2021 10:17:03 +0200 Subject: [PATCH] testkit-backend: add support to the StartTest message 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. --- testkit-backend/src/request-handlers.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/testkit-backend/src/request-handlers.js b/testkit-backend/src/request-handlers.js index b0bc5d819..8bfc5d232 100644 --- a/testkit-backend/src/request-handlers.js +++ b/testkit-backend/src/request-handlers.js @@ -212,3 +212,8 @@ export function SessionWriteTransaction (context, data, wire) { .then(_ => wire.writeResponse('RetryableDone', null)) .catch(error => wire.writeError(error)) } + +export function StartTest (_, { testName }, wire) { + console.log(`>>> Starting test ${testName}`) + wire.writeResponse('RunTest', null) +}