From 7e5ef4bf460eef22e03a5055061f11e605cc35a1 Mon Sep 17 00:00:00 2001 From: evgenLevin <76552389+evgenLevin@users.noreply.github.com> Date: Tue, 4 Jun 2024 12:02:24 -0400 Subject: [PATCH] cnf-test: exmanaged: added sleep time to workaround issue with nmstate ds (#11) --- tests/cnf/core/network/internal/netnmstate/netnmstate.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/cnf/core/network/internal/netnmstate/netnmstate.go b/tests/cnf/core/network/internal/netnmstate/netnmstate.go index c835d1e8e..82105b277 100644 --- a/tests/cnf/core/network/internal/netnmstate/netnmstate.go +++ b/tests/cnf/core/network/internal/netnmstate/netnmstate.go @@ -501,6 +501,9 @@ func isNMStateDeployedAndReady(timeout time.Duration) error { glog.V(90).Infof("Waiting until all NMState resources are Ready.") + // Workaround to skip failure "nmstate handler daemonset is not ready" + time.Sleep(10 * time.Second) + if !nmstateHandlerDs.IsReady(timeout) { return fmt.Errorf("nmstate handler daemonset is not ready") }