From 17264160dd2680bc50698f815c0c52ecc2e5b842 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Thu, 12 Nov 2026 17:54:13 -0800 Subject: [PATCH] test: require 409 from the reloaded frozen source Co-Authored-By: Claude Opus 5.5 --- test/volume_server/grpc/move_persist_freeze_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/volume_server/grpc/move_persist_freeze_test.go b/test/volume_server/grpc/move_persist_freeze_test.go index a418e6613d..987069fad0 100644 --- a/test/volume_server/grpc/move_persist_freeze_test.go +++ b/test/volume_server/grpc/move_persist_freeze_test.go @@ -79,8 +79,8 @@ func TestLiveMoveFreezeSurvivesSourceReload(t *testing.T) { if err != nil { t.Fatalf("LiveMoveVolume: %v", err) } - if reloadedSourceWrite == http.StatusCreated { - t.Fatalf("reloaded source accepted a write the move then deleted") + if reloadedSourceWrite != http.StatusConflict { + t.Fatalf("reloaded source write: status %d, want %d", reloadedSourceWrite, http.StatusConflict) } if targetWrite != http.StatusCreated { t.Fatalf("copied target refused a write before the tail: status %d", targetWrite)