debug bug 710: increased verbosity of ns.get_field, increased sleep for wait_for_value
Change-Id: I526b92892500ed989c8d0de2d0d8dfc1d78b9eee
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
diff --git a/osmclient/common/utils.py b/osmclient/common/utils.py
index 6b6c6f9..937e121 100644
--- a/osmclient/common/utils.py
+++ b/osmclient/common/utils.py
@@ -30,7 +30,7 @@
return True
except catch_exception:
pass
- time.sleep(1)
+ time.sleep(5)
try:
return func() == result
except catch_exception:
diff --git a/osmclient/sol005/ns.py b/osmclient/sol005/ns.py
index 0e178c2..1c45f01 100644
--- a/osmclient/sol005/ns.py
+++ b/osmclient/sol005/ns.py
@@ -453,6 +453,7 @@
def get_field(self, ns_name, field):
nsr = self.get(ns_name)
+ print(yaml.safe_dump(nsr))
if nsr is None:
raise NotFound("failed to retrieve ns {}".format(ns_name))