mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
typo fix
This commit is contained in:
@@ -53,7 +53,7 @@ public class RunStateImage {
|
||||
return true;
|
||||
}
|
||||
|
||||
public boolean isNonOther(RunState... runStates) {
|
||||
public boolean isNoneOther(RunState... runStates) {
|
||||
int[] scan = Arrays.copyOf(counts, counts.length);
|
||||
for (RunState runState : runStates) {
|
||||
scan[runState.ordinal()]=0;
|
||||
|
||||
@@ -33,7 +33,7 @@ public class RunStateImageTest {
|
||||
assertThat(image.is(RunState.Starting)).isTrue();
|
||||
assertThat(image.isTimeout()).isFalse();
|
||||
assertThat(image.is(RunState.Errored)).isFalse();
|
||||
assertThat(image.isNonOther(RunState.Starting, RunState.Running)).isTrue();
|
||||
assertThat(image.isNoneOther(RunState.Starting, RunState.Running)).isTrue();
|
||||
RunState maxState = image.getMaxState();
|
||||
assertThat(maxState).isEqualTo(RunState.values()[RunState.Running.ordinal()]);
|
||||
RunState minState = image.getMinState();
|
||||
|
||||
Reference in New Issue
Block a user