Skip to content

Commit

Permalink
Test an increase in wait_output timeout (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
t-persson authored Feb 7, 2024
1 parent 28746a1 commit 7893703
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/etos_test_runner/lib/executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@
# See the License for the specific language governing permissions and
# limitations under the License.
"""ETR executor module."""
import json
import logging
import os
import re
import shlex
import logging
import signal
import json
import re
import subprocess
from pathlib import Path
from shutil import copy
from pprint import pprint
from shutil import copy

BASE = Path(__file__).parent.absolute()

Expand Down Expand Up @@ -323,7 +323,7 @@ def _iterable_call(
output_file.write(line.decode("utf-8"))

if not wait_output:
signal.alarm(5)
signal.alarm(120)
except SubprocessReadTimeout:
pass
finally:
Expand Down

0 comments on commit 7893703

Please sign in to comment.