Add Fix information of ovsdbtest failed cases
Change-Id: Id53e152b3eaefa403c702c9317d032ee5615b93a
diff --git a/TestON/tests/FUNCovsdbtest/FUNCovsdbtest.py b/TestON/tests/FUNCovsdbtest/FUNCovsdbtest.py
index 95e90fd..3c76596 100644
--- a/TestON/tests/FUNCovsdbtest/FUNCovsdbtest.py
+++ b/TestON/tests/FUNCovsdbtest/FUNCovsdbtest.py
@@ -384,7 +384,8 @@
utilities.assert_equals( expect=main.TRUE,
actual=stepResult,
onpass="ovsdb node 1 manager is " + str( response ) ,
- onfail="ovsdb node 1 manager check failed" )
+ onfail="ovsdb node 1 manager check failed\n" +\
+ str( main.OVSDB1.show() ) )
main.step( "Check ovsdb node 2 manager is " + str( ctrlip ) )
response = main.OVSDB2.getManager()
@@ -395,7 +396,8 @@
utilities.assert_equals( expect=main.TRUE,
actual=stepResult,
onpass="ovsdb node 2 manager is " + str( response ) ,
- onfail="ovsdb node 2 manager check failed" )
+ onfail="ovsdb node 2 manager check failed\n" +\
+ str( main.OVSDB2.show() ) )
main.step( "Check ovsdb node 1 bridge br-int controller set to " + str( ctrlip ) )
response = main.OVSDB1.getController( "br-int" )
@@ -408,7 +410,7 @@
onpass="Check ovsdb node 1 bridge br-int controller set to " +\
str( ctrlip ) + " sucess",
onfail="Check ovsdb node 1 bridge br-int controller set to " +\
- str( ctrlip ) + " failed" )
+ str( ctrlip ) + " failed\n" + str( main.OVSDB1.show() ) )
main.step( "Check ovsdb node 2 bridge br-int controller set to " + str( ctrlip ) )
response = main.OVSDB2.getController( "br-int" )
@@ -421,7 +423,7 @@
onpass="Check ovsdb node 2 bridge br-int controller set to " +\
str( ctrlip ) + " sucess",
onfail="Check ovsdb node 2 bridge br-int controller set to " +\
- str( ctrlip ) + " failed" )
+ str( ctrlip ) + " failed\n" + str( main.OVSDB2.show()) )
main.step( "Check onoscli devices have ovs " + str( OVSDB1Ip ) )
response = main.ONOScli1.devices()