From 0908f9100e3c8a34106f703e249be3f084a08ffe Mon Sep 17 00:00:00 2001 From: Rafi Shamim Date: Wed, 19 Jul 2023 17:04:47 +0000 Subject: [PATCH] testccl: add additional log message in TestShowTransferState This should help debug why it flakes. Release note: None --- pkg/ccl/testccl/sqlccl/show_transfer_state_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/ccl/testccl/sqlccl/show_transfer_state_test.go b/pkg/ccl/testccl/sqlccl/show_transfer_state_test.go index 5c2467ed75d2..055b61c69b6a 100644 --- a/pkg/ccl/testccl/sqlccl/show_transfer_state_test.go +++ b/pkg/ccl/testccl/sqlccl/show_transfer_state_test.go @@ -71,7 +71,7 @@ func TestShowTransferState(t *testing.T) { err = rows.Scan(&errVal, &sessionState, &sessionRevivalToken) require.NoError(t, err, "unexpected error while reading transfer state") - require.False(t, errVal.Valid) + require.Falsef(t, errVal.Valid, "expected null error, got %s", errVal.String) require.True(t, sessionState.Valid) require.True(t, sessionRevivalToken.Valid) })