diff --git a/internal/gitaly/storage/storagemgr/partition/migration/reftable/middleware_test.go b/internal/gitaly/storage/storagemgr/partition/migration/reftable/middleware_test.go index feaa08f01935cb5eb82788b546c7a168481c17ed..9db65cab97b52dd3b94adc64819ddc3d9d9010ed 100644 --- a/internal/gitaly/storage/storagemgr/partition/migration/reftable/middleware_test.go +++ b/internal/gitaly/storage/storagemgr/partition/migration/reftable/middleware_test.go @@ -21,6 +21,7 @@ import ( "gitlab.com/gitlab-org/gitaly/v16/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v16/internal/testhelper/testcfg" "gitlab.com/gitlab-org/gitaly/v16/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/v16/internal/testhelper/transactiontest" "gitlab.com/gitlab-org/gitaly/v16/proto/go/gitalypb" "google.golang.org/grpc" ) @@ -204,6 +205,8 @@ func testInterceptor(t *testing.T, ctx context.Context) { ), ) + transactiontest.ForceWALSync(t, ctx, conn, repoProto) + tc.setup(repoProto, commitID) // Block to ensure the previous migration was successful.