Skip to content

Commit 84f5305

Browse files
committed
Harden suspend_test.go
1 parent f508902 commit 84f5305

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/remote/suspend_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ func TestSuspendServices(t *testing.T) {
5656
// assert that the cache service is suspended
5757
svc, err := ManagementOverRestRequest(&c, "/management/coherence/cluster/services/PartitionedCache")
5858
g.Expect(err).NotTo(HaveOccurred())
59-
g.Expect(svc["quorumStatus"]).To(BeEquivalentTo([]interface{}{"Suspended"}))
59+
g.Expect(svc["quorumStatus"]).To(ContainElement("Suspended"))
6060

6161
// remove the test finalizer which should then let everything be deleted
6262
err = removeAllFinalizers(&c)

0 commit comments

Comments
 (0)