Skip to content
Permalink
Browse files
enable duplicate test case with system prop only
  • Loading branch information
shawnmckinney committed May 5, 2021
1 parent cc63738 commit 2d645c8e915af870bbb879f5efffb039fc67e634
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
@@ -61,6 +61,7 @@ public SampleResult runTest( JavaSamplerContext samplerContext )
// This tests replication, ability to handle conflicts:
if ( duplicate > 0 && count > duplicate && ( count % duplicate ) == 0 )
{
warn( "DUPLICATE ADD[" + count + "]: " + user.getUserId() );
user.setDescription( "add two: " + user.getUserId() );
outUser = adminMgr.addUser( user );
}
@@ -56,6 +56,7 @@ public SampleResult runTest( JavaSamplerContext samplerContext )
// This tests replication, ability to handle conflicts:
if ( duplicate > 0 && count > duplicate && ( count % duplicate ) == 0 )
{
warn( "DUPLICATE DEL[" + count + "]: " + user.getUserId() );
adminMgr.deleteUser( user );
}
if ( verify )

0 comments on commit 2d645c8

Please sign in to comment.