From 67b14ec33f99eac87bd37d8dfee3babd4e886dd2 Mon Sep 17 00:00:00 2001 From: Ryan Gang Date: Thu, 13 Jun 2024 00:43:27 +0530 Subject: [PATCH] docs: update module level docstring --- internal/test_cases/transaction_test_case.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/internal/test_cases/transaction_test_case.go b/internal/test_cases/transaction_test_case.go index e78385f..4911407 100644 --- a/internal/test_cases/transaction_test_case.go +++ b/internal/test_cases/transaction_test_case.go @@ -7,10 +7,11 @@ import ( "github.com/codecrafters-io/tester-utils/logger" ) -// TransactionTestCase is a test case where we connect to a master -// as a replica and perform either all or a subset of the replication handshake. +// TransactionTestCase is a test case where we initiate a transaction by sending "MULTI" command +// Send a series of commands to the server expected back "QUEUED" for each command +// Finally send "EXEC" command and expect the response to be the same as ResultArray // -// RunAll will run all the steps in the replication handshake. Alternatively, you +// RunAll will run all the steps in the Transaction execution. Alternatively, you // can run each step individually. type TransactionTestCase struct { // All the CommandQueue will be sent in order to client