Skip to content
Permalink
Browse files
enable duplicate test case with system prop only
  • Loading branch information
shawnmckinney committed May 5, 2021
1 parent 6c4cf5c commit cc637385c02e38d4ba62d1779fee2ed3a10cf193
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
@@ -59,7 +59,7 @@ public SampleResult runTest( JavaSamplerContext samplerContext )
User outUser = adminMgr.addUser( user );
assertNotNull( outUser );
// This tests replication, ability to handle conflicts:
if ( duplicate > 0 && count > 1000 && duplicate % count == 0 )
if ( duplicate > 0 && count > duplicate && ( count % duplicate ) == 0 )
{
user.setDescription( "add two: " + user.getUserId() );
outUser = adminMgr.addUser( user );
@@ -54,7 +54,7 @@ public SampleResult runTest( JavaSamplerContext samplerContext )
write( "threadid: " + getThreadId() + ", userId: " + userId );
adminMgr.deleteUser( user );
// This tests replication, ability to handle conflicts:
if ( duplicate > 0 && count > 1000 && duplicate % count == 0 )
if ( duplicate > 0 && count > duplicate && ( count % duplicate ) == 0 )
{
adminMgr.deleteUser( user );
}

0 comments on commit cc63738

Please sign in to comment.