From 9396f76d764ee1c504ceaf4c1f489b7bcf2012c6 Mon Sep 17 00:00:00 2001 From: phm07 <22707808+phm07@users.noreply.github.com> Date: Mon, 23 Sep 2024 11:30:42 +0200 Subject: [PATCH] fix network uniqueness_error --- test/e2e/network_test.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/e2e/network_test.go b/test/e2e/network_test.go index 19dc5205..ceed5e74 100644 --- a/test/e2e/network_test.go +++ b/test/e2e/network_test.go @@ -28,9 +28,8 @@ func TestNetwork(t *testing.T) { _, err = createNetwork(t, networkName, "--ip-range", "10.0.1.0/24") require.Error(t, err) - // The API currently (wrongly) returns service_error instead of uniqueness_error. - // Once this is fixed we have to change it here. - assert.Regexp(t, `^name is already used \(service_error, [0-9a-f]+\)$`, err.Error()) + // TODO: API currently returns service_error instead of uniqueness_error. Add this back in once this is fixed. + // assert.Regexp(t, `^name is already used \(uniqueness_error, [0-9a-f]+\)$`, err.Error()) t.Run("enable-protection", func(t *testing.T) { t.Run("non-existing-protection", func(t *testing.T) {