We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
TestSetTiDBCloudStorageURI
1 parent 35a7c9e commit 9aabf72Copy full SHA for 9aabf72
pkg/sessionctx/variable/sysvar_test.go
@@ -1416,7 +1416,7 @@ func TestSetTiDBCloudStorageURI(t *testing.T) {
1416
1417
// Set to s3, should fail
1418
err = mock.SetGlobalSysVar(ctx, TiDBCloudStorageURI, "s3://blackhole")
1419
- require.ErrorContains(t, err, "bucket blackhole")
+ require.Error(t, err, "unreachable storage URI")
1420
1421
s := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
1422
w.WriteHeader(200)
0 commit comments