mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-04-14 12:06:42 +08:00
print test finished before loading db
This commit is contained in:
@@ -590,16 +590,15 @@ def run_scenario( scenario, config_file, client_config_file, interactive=False,
|
||||
if rc == False:
|
||||
# explicitly erred
|
||||
log.error("Scenario exits in error")
|
||||
blockstack_client.rpc.local_api_stop(client_config_dir)
|
||||
log.error("Failed to run tests '%s'" % scenario.__name__)
|
||||
shutdown_procedure()
|
||||
return False
|
||||
|
||||
log.info("\n\nTest finished; doing checks\n\n")
|
||||
|
||||
db = blockstackd.get_db_state(disposition=blockstackd.DISPOSITION_RW)
|
||||
testlib.set_state_engine(db)
|
||||
|
||||
log.info("\n\nTest finished; doing checks\n\n")
|
||||
|
||||
# run the checks on the database
|
||||
try:
|
||||
rc = scenario.check( db )
|
||||
|
||||
Reference in New Issue
Block a user