From 1f7ad9c6d228d7dea4cad4282ca8262bbc403aed Mon Sep 17 00:00:00 2001 From: Divya Rani Date: Thu, 24 Jul 2025 13:57:08 +0530 Subject: [PATCH] Use ForceWALSync workaround --- .../storagemgr/partition/migration/reftable/middleware_test.go | 3 +++ 1 file changed, 3 insertions(+) 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 feaa08f0193..9db65cab97b 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. -- GitLab