mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 10:07:28 +01:00
test: observe mixed-arm counts before the generic overwrite oracle
This commit is contained in:
1 parent
42d30e0627
commit
aea5f5d88b
1 file changed
+1
-1
@@ -61,7 +61,6 @@ func TestChunkCutMixedSuccessDoesNotReplaySuccessfulKey(t *testing.T) {
|
||||
if _, err := l.Cut(ctTimeout(t)); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
assertEveryHeadIsPrefixImage(t, f, w)
|
||||
if len(f.installedHeads()) != 1 {
|
||||
t.Fatal("must publish once")
|
||||
}
|
||||
@@ -88,6 +87,7 @@ func TestChunkCutMixedSuccessDoesNotReplaySuccessfulKey(t *testing.T) {
|
||||
if len(seen) != 2 {
|
||||
t.Fatal("did not exercise success and retry")
|
||||
}
|
||||
assertEveryHeadIsPrefixImage(t, f, w)
|
||||
}
|
||||
|
||||
func TestChunkCutRetriesOnlyTheFailedUpload(t *testing.T) {
|
||||
|
||||
Reference in new issue
Block a user