test: add log info in test case
This commit is contained in:
parent
07d11d2b8b
commit
158e23d5ae
|
@ -138,7 +138,8 @@ class TDTestCase:
|
||||||
if "2: service ok" in retVal:
|
if "2: service ok" in retVal:
|
||||||
tdLog.info("taos -k success")
|
tdLog.info("taos -k success")
|
||||||
else:
|
else:
|
||||||
tdLog.exit("taos -k fail")
|
tdLog.info(retVal)
|
||||||
|
tdLog.exit("taos -k fail 1")
|
||||||
|
|
||||||
# stop taosd
|
# stop taosd
|
||||||
tdDnodes.stop(1)
|
tdDnodes.stop(1)
|
||||||
|
@ -149,7 +150,8 @@ class TDTestCase:
|
||||||
if "0: unavailable" in retVal:
|
if "0: unavailable" in retVal:
|
||||||
tdLog.info("taos -k success")
|
tdLog.info("taos -k success")
|
||||||
else:
|
else:
|
||||||
tdLog.exit("taos -k fail")
|
tdLog.info(retVal)
|
||||||
|
tdLog.exit("taos -k fail 2")
|
||||||
|
|
||||||
# restart taosd
|
# restart taosd
|
||||||
tdDnodes.start(1)
|
tdDnodes.start(1)
|
||||||
|
@ -158,7 +160,8 @@ class TDTestCase:
|
||||||
if "2: service ok" in retVal:
|
if "2: service ok" in retVal:
|
||||||
tdLog.info("taos -k success")
|
tdLog.info("taos -k success")
|
||||||
else:
|
else:
|
||||||
tdLog.exit("taos -k fail")
|
tdLog.info(retVal)
|
||||||
|
tdLog.exit("taos -k fail 3")
|
||||||
|
|
||||||
tdLog.printNoPrefix("================================ parameter: -n")
|
tdLog.printNoPrefix("================================ parameter: -n")
|
||||||
# stop taosd
|
# stop taosd
|
||||||
|
|
Loading…
Reference in New Issue