mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 18:17:16 +01:00
test: match cleanup evidence to bundle capture time
This commit is contained in:
1 parent
c88406df7f
commit
4c7c99cf18
1 file changed
+2
-2
@@ -707,7 +707,7 @@ func TestObservationBundle_DeleteSafetyBlocksWithResidue(t *testing.T) {
|
||||
}})
|
||||
mustWrite(t, filepath.Join(dir, ObservationCleanupSummaryArtifact), strings.Join([]string{
|
||||
"cleanup_status=failed",
|
||||
"cleanup_observed_at=2026-05-27T12:00:00Z",
|
||||
"cleanup_observed_at=2026-05-21T12:00:00Z",
|
||||
"iscsi_residue_count=1",
|
||||
"reason_codes=iscsi_node_records_present",
|
||||
}, "\n"))
|
||||
@@ -922,7 +922,7 @@ func TestObservationBundle_DeleteSafetyReleasableWithCleanCleanupEvidence(t *tes
|
||||
FrontendAddr: "192.168.1.181:3260",
|
||||
}},
|
||||
}})
|
||||
mustWrite(t, filepath.Join(dir, ObservationCleanupSummaryArtifact), "cleanup_status=ok\ncleanup_observed_at=2026-05-27T12:00:00Z")
|
||||
mustWrite(t, filepath.Join(dir, ObservationCleanupSummaryArtifact), "cleanup_status=ok\ncleanup_observed_at=2026-05-21T12:00:00Z")
|
||||
mustWrite(t, filepath.Join(dir, ObservationDeleteSafetyArtifact), strings.Join([]string{
|
||||
"delete_requested=true",
|
||||
"finalizer_present=true",
|
||||
|
||||
Reference in new issue
Block a user