This is an automated email from the ASF dual-hosted git repository.
astefanutti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git
The following commit(s) were added to refs/heads/main by this push:
new cb8396b fix(test) - toleration trait test
cb8396b is described below
commit cb8396b97a4f27decf78a54a5757b2247cef72d9
Author: tplevko <[email protected]>
AuthorDate: Fri May 14 14:51:52 2021 +0200
fix(test) - toleration trait test
---
e2e/common/traits/toleration_test.go | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/e2e/common/traits/toleration_test.go
b/e2e/common/traits/toleration_test.go
index 0dafc01..30c0e03 100644
--- a/e2e/common/traits/toleration_test.go
+++ b/e2e/common/traits/toleration_test.go
@@ -113,8 +113,8 @@ func TestTolerationTrait(t *testing.T) {
}))
// Check the Integration pod is running on a master node
- Expect(Node(pod.Spec.NodeName)).NotTo(BeNil())
-
Expect(Node(pod.Spec.NodeName)).To(PointTo(MatchFields(IgnoreExtras, Fields{
+ Expect(Node(pod.Spec.NodeName)()).NotTo(BeNil())
+
Expect(Node(pod.Spec.NodeName)()).To(PointTo(MatchFields(IgnoreExtras, Fields{
"Spec": MatchFields(IgnoreExtras, Fields{
"Taints": ContainElement(v1.Taint{
Key:
"node-role.kubernetes.io/master",