summaryrefslogtreecommitdiff
path: root/test/e2e/run_cpu_test.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-09-05 12:49:21 +0200
committerGitHub <noreply@github.com>2019-09-05 12:49:21 +0200
commitb962b1e3538312f145aea0cf5546ae31f35f635f (patch)
tree3a385453db942b9d8ba62dc8a96ec1d68f4634cd /test/e2e/run_cpu_test.go
parente74fcd73357954fe5a0b027cf195c04345703985 (diff)
parent95f5411e88cb8b40142a7000dc0d1a90071e5c50 (diff)
downloadpodman-b962b1e3538312f145aea0cf5546ae31f35f635f.tar.gz
podman-b962b1e3538312f145aea0cf5546ae31f35f635f.tar.bz2
podman-b962b1e3538312f145aea0cf5546ae31f35f635f.zip
Merge pull request #3943 from gabibeyer/fix_tests
Fix unit tests missing comparative for 'Expect'
Diffstat (limited to 'test/e2e/run_cpu_test.go')
-rw-r--r--test/e2e/run_cpu_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/e2e/run_cpu_test.go b/test/e2e/run_cpu_test.go
index 4be9da3d2..42f17985c 100644
--- a/test/e2e/run_cpu_test.go
+++ b/test/e2e/run_cpu_test.go
@@ -60,7 +60,7 @@ var _ = Describe("Podman run cpu", func() {
}
result.WaitWithDefaultTimeout()
Expect(result.ExitCode()).To(Equal(0))
- Expect(result.LineInOutputContains("5000"))
+ Expect(result.LineInOutputContains("5000")).To(BeTrue())
})
It("podman run cpu-quota", func() {
@@ -78,7 +78,7 @@ var _ = Describe("Podman run cpu", func() {
}
result.WaitWithDefaultTimeout()
Expect(result.ExitCode()).To(Equal(0))
- Expect(result.LineInOutputContains("5000"))
+ Expect(result.LineInOutputContains("5000")).To(BeTrue())
})
It("podman run cpus", func() {