Commit f1e02906 authored by Daniel Smith's avatar Daniel Smith

fix broken test

parent be7d5a3d
...@@ -229,8 +229,9 @@ func TestEtcdCreatePodFailsWithoutNamespace(t *testing.T) { ...@@ -229,8 +229,9 @@ func TestEtcdCreatePodFailsWithoutNamespace(t *testing.T) {
}, },
}, },
}) })
if err == nil || !strings.Contains(err.Error(), "namespace") { // Accept "namespace" or "Namespace".
t.Fatalf("expected error that namespace was missing from context") if err == nil || !strings.Contains(err.Error(), "amespace") {
t.Fatalf("expected error that namespace was missing from context, got: %v", err)
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment