test: if notify is not null and needs to be unequal then just invert notify
Original commit: elastic/x-pack-elasticsearch@2de9536c9c
This commit is contained in:
parent
a14a11ebdb
commit
967a3d1da2
|
@ -153,7 +153,7 @@ public class HipChatMessageTests extends ESTestCase {
|
||||||
}
|
}
|
||||||
if (rarely()) {
|
if (rarely()) {
|
||||||
equals = false;
|
equals = false;
|
||||||
notify = notify == null ? (Boolean) randomBoolean() : randomBoolean() ? null : (Boolean) randomBoolean();
|
notify = notify == null ? (Boolean) randomBoolean() : randomBoolean() ? null : !notify;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue