From bb76e0a25b113b0f40b47f19eaa2c053e0b4e423 Mon Sep 17 00:00:00 2001 From: maheshgudi Date: Thu, 2 Jun 2016 16:00:27 +0530 Subject: changed model class name Stdout to Stdio --- yaksh/evaluator_tests/test_java_evaluation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'yaksh/evaluator_tests') diff --git a/yaksh/evaluator_tests/test_java_evaluation.py b/yaksh/evaluator_tests/test_java_evaluation.py index 8cfccb9..fa8d68c 100644 --- a/yaksh/evaluator_tests/test_java_evaluation.py +++ b/yaksh/evaluator_tests/test_java_evaluation.py @@ -68,13 +68,13 @@ class JavaStdioEvaluationTestCases(unittest.TestCase): def setUp(self): self.test_case_data = [{'expected_output': '11', 'expected_input': '5\n6'}] - evaluator.SERVER_TIMEOUT = 9 + evaluator.SERVER_TIMEOUT = 4 self.timeout_msg = ("Code took more than {0} seconds to run. " "You probably have an infinite loop in" " your code.").format(evaluator.SERVER_TIMEOUT) def teardown(self): - evaluator.SERVER_TIMEOUT = 2 + evaluator.SERVER_TIMEOUT = 4 def test_correct_answer(self): user_answer = dedent(""" -- cgit