test: require 409 from the reloaded frozen source

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Chris LuandClaude Opus 5.5 committed 2026-11-12 17:54:13 -08:00
1 parent 3b45a38ee3
commit 17264160dd
1 file changed
+2 -2
@@ -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)