Skip to content

Commit 4298b14

Browse files
authored
Increase timeout of tests (#2711)
Signed-off-by: Mohammad Adil <[email protected]>
1 parent 03a8372 commit 4298b14

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/test_highresnet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def test_shape(self, input_param, input_shape, expected_shape):
5353
result = net.forward(torch.randn(input_shape).to(device))
5454
self.assertEqual(result.shape, expected_shape)
5555

56-
@TimedCall(seconds=400, force_quit=True)
56+
@TimedCall(seconds=800, force_quit=True)
5757
def test_script(self):
5858
input_param, input_shape, expected_shape = TEST_CASE_1
5959
net = HighResNet(**input_param)

tests/test_integration_determinism.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def setUp(self):
7575
def tearDown(self):
7676
set_determinism(seed=None)
7777

78-
@TimedCall(seconds=30)
78+
@TimedCall(seconds=150)
7979
def test_training(self):
8080
set_determinism(seed=0)
8181
loss, step = run_test(device=self.device)

0 commit comments

Comments
 (0)