mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-13 15:29:12 +01:00
test: require 409 from the reloaded frozen source
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
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)
|
||||
|
||||
Reference in new issue
Block a user