Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions pytpcc/coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,10 @@ def startExecution(scaleParameters, args, config,channels):

if args['debug']: logging.getLogger().setLevel(logging.DEBUG)

## Arguments validation
assert args['reset'] == False or args['no_load'] == False, \
"'--reset' and '--no-load' are incompatible with each other"

## Create a handle to the target client driver
driverClass = createDriverClass(args['system'])
assert driverClass != None, "Failed to find '%s' class" % args['system']
Expand Down
4 changes: 4 additions & 0 deletions pytpcc/tpcc.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,10 @@ def executorFunc(driverClass, scaleParameters, args, config, debug):
if args['debug']:
logging.getLogger().setLevel(logging.DEBUG)

## Arguments validation
assert args['reset'] == False or args['no_load'] == False, \
"'--reset' and '--no-load' are incompatible with each other"

## Create a handle to the target client driver
driverClass = createDriverClass(args['system'])
assert driverClass != None, "Failed to find '%s' class" % args['system']
Expand Down