Skip to content

Commit

Permalink
Fixes test Parameters so that they are less ambiguous
Browse files Browse the repository at this point in the history
  • Loading branch information
tinwelint committed Jan 25, 2017
1 parent 8fe978f commit 674580e
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -67,15 +67,15 @@ public class TerminationOfSlavesDuringPullUpdatesTest
.withSharedSetting( HaSettings.pull_interval, "0" )
.withSharedSetting( HaSettings.tx_push_factor, "0" );

@Parameter
@Parameter( 0 )
public ReadContestantActions action;
@Parameter( 1 )
public String name;

@Parameters( name = "{1}" )
public static Iterable<Object> data()
public static Iterable<Object[]> data()
{
return Arrays.<Object>asList( new Object[][]
return Arrays.<Object[]>asList( new Object[][]
{
{new PropertyValueActions( longString( 'a' ), longString( 'b' ), true ),
"NodeStringProperty[txTerminationAwareLocks=yes]"},
Expand Down

0 comments on commit 674580e

Please sign in to comment.