Commit 01dec80c authored by sebastian.graf's avatar sebastian.graf
Browse files

Revert "Removed the compilation timeout"

This reverts commit f290b58b.
parent ae962939
......@@ -120,7 +120,7 @@ class JavaExecTest(BasicSyntaxTest):
try:
out, err, rtcode = None, None, None
try:
out, err, rtcode = self.env.run_mj_command(self.MODE, base_filename + ".java", timeout=-1)
out, err, rtcode = self.env.run_mj_command(self.MODE, base_filename + ".java", timeout=timeout)
if rtcode != 0:
test_result.incorrect_msg = "file can't be compiled"
test_result.set_error_code(rtcode)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment