Skip to content

Commit f01fb6e

Browse files
committed
e2e/sgx: refer resources in the error messages
Signed-off-by: Eduard Bartosh <eduard.bartosh@intel.com>
1 parent f9e04ad commit f01fb6e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/e2e/sgx/sgx.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,13 @@ func describe() {
9191

9292
ginkgo.By("checking the resource is allocatable")
9393
if err = utils.WaitForNodesWithResource(f.ClientSet, "sgx.intel.com/epc", 30*time.Second); err != nil {
94-
framework.Failf("unable to wait for nodes to have positive allocatable resource: %v", err)
94+
framework.Failf("unable to wait for nodes to have positive allocatable epc resource: %v", err)
9595
}
9696
if err = utils.WaitForNodesWithResource(f.ClientSet, "sgx.intel.com/enclave", 30*time.Second); err != nil {
97-
framework.Failf("unable to wait for nodes to have positive allocatable resource: %v", err)
97+
framework.Failf("unable to wait for nodes to have positive allocatable enclave resource: %v", err)
9898
}
9999
if err = utils.WaitForNodesWithResource(f.ClientSet, "sgx.intel.com/provision", 30*time.Second); err != nil {
100-
framework.Failf("unable to wait for nodes to have positive allocatable resource: %v", err)
100+
framework.Failf("unable to wait for nodes to have positive allocatable provision resource: %v", err)
101101
}
102102

103103
ginkgo.By("submitting a pod requesting SGX enclave resources")

0 commit comments

Comments
 (0)