Added additional waitForIntents in FactionPvpTest to increase test reliability

This commit is contained in:
Josh Larson
2022-07-21 10:54:54 -05:00
parent f5fe43ebe5
commit 2974456f31
@@ -71,6 +71,7 @@ class FactionPvpTest : TestRunnerSimulatedWorld() {
broadcastAndWait(InboundPacketIntent(player, CommandQueueEnqueue(player.creatureObject.objectId, 0, crc, targetObjectId, "")))
player.waitForNextPacket(CommandTimer::class.java)
waitForIntents()
}
private fun createCreatureObject(): GenericCreatureObject {