diff --git a/go/test/endtoend/transaction/twopc/twopc_test.go b/go/test/endtoend/transaction/twopc/twopc_test.go index 89dfe2c3548..6f0ed1b3a69 100644 --- a/go/test/endtoend/transaction/twopc/twopc_test.go +++ b/go/test/endtoend/transaction/twopc/twopc_test.go @@ -1065,7 +1065,7 @@ func TestReadingUnresolvedTransactions(t *testing.T) { // We want to delay the commit on one of the shards to simulate slow commits on a shard. twopcutil.WriteTestCommunicationFile(t, twopcutil.DebugDelayCommitShard, "80-") defer twopcutil.DeleteFile(twopcutil.DebugDelayCommitShard) - twopcutil.WriteTestCommunicationFile(t, twopcutil.DebugDelayCommitTime, "5") + twopcutil.WriteTestCommunicationFile(t, twopcutil.DebugDelayCommitTime, "2") defer twopcutil.DeleteFile(twopcutil.DebugDelayCommitTime) // We will execute a commit in a go routine, because we know it will take some time to complete. // While the commit is ongoing, we would like to check that we see the unresolved transaction.