From feb7681c9cfaab9e1bbb8e981d22730c94fe9b17 Mon Sep 17 00:00:00 2001 From: Jonathan Coates Date: Sat, 30 Jul 2022 18:14:43 +0100 Subject: [PATCH] Add some missing test timeouts --- src/testMod/java/dan200/computercraft/ingame/DiskDriveTest.kt | 4 ++-- src/testMod/java/dan200/computercraft/ingame/TurtleTest.kt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/testMod/java/dan200/computercraft/ingame/DiskDriveTest.kt b/src/testMod/java/dan200/computercraft/ingame/DiskDriveTest.kt index bbe314815..46b284612 100644 --- a/src/testMod/java/dan200/computercraft/ingame/DiskDriveTest.kt +++ b/src/testMod/java/dan200/computercraft/ingame/DiskDriveTest.kt @@ -16,10 +16,10 @@ class Disk_Drive_Test { * * @see [#688](https://github.com/cc-tweaked/CC-Tweaked/issues/688) */ - @GameTest + @GameTest(timeoutTicks = Modem_Test.TIMEOUT) fun Audio_disk(helper: GameTestHelper) = helper.sequence { thenComputerOk() } - @GameTest + @GameTest(timeoutTicks = Modem_Test.TIMEOUT) fun Ejects_disk(helper: GameTestHelper) = helper.sequence { val stackAt = BlockPos(2, 2, 2) this diff --git a/src/testMod/java/dan200/computercraft/ingame/TurtleTest.kt b/src/testMod/java/dan200/computercraft/ingame/TurtleTest.kt index 47f27b495..0d80f6b6e 100644 --- a/src/testMod/java/dan200/computercraft/ingame/TurtleTest.kt +++ b/src/testMod/java/dan200/computercraft/ingame/TurtleTest.kt @@ -77,7 +77,7 @@ class Turtle_Test { * * Currently not required as turtles can no longer right-click cauldrons. */ - @GameTest(required = false) + @GameTest(timeoutTicks = COMPUTER_TIMEOUT, required = false) fun Cleaned_with_cauldrons(helper: GameTestHelper) = helper.sequence { thenComputerOk() } /**