mirror of
https://github.com/containerd/containerd.git
synced 2026-11-06 21:37:23 +00:00
Amend runtime handler test for stable order
Signed-off-by: Eric Mountain <eric.mountain@datadoghq.com>
This commit is contained in:
1 parent
d822c90480
commit
57db13d50d
1 file changed
+2
-3
@@ -134,7 +134,6 @@ func TestStatusRuntimeHandlersOrdering(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
// The test will fail if the order is the same, showing that the ordering is stable
|
||||
// In the current implementation, order is not stable
|
||||
assert.False(t, sameOrder, "RuntimeHandlers order is stable across Status() calls - unexpected")
|
||||
// Fail if runtime handlers order varies across calls to Status()
|
||||
assert.True(t, sameOrder, "RuntimeHandlers order is unstable across Status() calls")
|
||||
}
|
||||
Reference in new issue
Block a user