Skip to content

Commit

Permalink
TESTBOX-220
Browse files Browse the repository at this point in the history
some speed improvements by not using createuuid anymore
  • Loading branch information
lmajano committed Apr 11, 2018
1 parent aa2c76e commit 9fcda48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion system/runners/UnitRunner.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ component extends="testbox.system.runners.BaseRunner" implements="testbox.system
// is this async or not?
if( arguments.suite.asyncAll ){
// prepare thread name
var thisThreadName = variables.testBox.getUtility().slugify( "tb-" & thisSpec.name & "-#createUUID()#" );
var thisThreadName = variables.testBox.getUtility().slugify( "tb-" & thisSpec.name & "-#hash( getTickCount() + randRange( 1, 10000000 ) )#" );
// append to used thread names
arrayAppend( threadNames, thisThreadName );
// thread it
Expand Down
2 changes: 1 addition & 1 deletion tests/specs/NestedDescribeTest.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ component extends="testbox.system.BaseSpec"{

sleep( randRange( 500, 2000 ) );

debug( "==>Finalized process #data.name#" );
debug( "==> Finalized process #data.name#" );

});
});
Expand Down

0 comments on commit 9fcda48

Please sign in to comment.