diff options
author | Andrey Zelenkov <zelenkov@nginx.com> | 2019-09-25 19:21:42 +0300 |
---|---|---|
committer | Andrey Zelenkov <zelenkov@nginx.com> | 2019-09-25 19:21:42 +0300 |
commit | d82f125368d7d19300789ddd41587c09ffdcf36a (patch) | |
tree | a3b690f11c898cd7c9674327400ebae1fca0158a /test/unit/applications/lang/java.py | |
parent | 5c6b01d76c329f4ddcc31378e4ec62123e804d01 (diff) | |
download | unit-d82f125368d7d19300789ddd41587c09ffdcf36a.tar.gz unit-d82f125368d7d19300789ddd41587c09ffdcf36a.tar.bz2 |
Tests: fixed hanging of Go tests.
This closes #319 issue on GitHub.
Diffstat (limited to '')
-rw-r--r-- | test/unit/applications/lang/java.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/unit/applications/lang/java.py b/test/unit/applications/lang/java.py index 40bf3662..bcf87f59 100644 --- a/test/unit/applications/lang/java.py +++ b/test/unit/applications/lang/java.py @@ -63,8 +63,12 @@ class TestApplicationJava(TestApplicationProto): ] javac.extend(src) - process = Popen(javac) - process.communicate() + try: + process = Popen(javac) + process.communicate() + + except: + self.fail('Cann\'t run javac process.') self._load_conf( { |