1import io 2import os 3import time 4 5from unit.applications.lang.java import TestApplicationJava 6 7 8class TestJavaApplication(TestApplicationJava): 9 prerequisites = {'modules': {'java': 'all'}} 10 11 def test_java_conf_error(self): 12 self.skip_alerts.extend( 13 [ 14 r'realpath.*failed', 15 r'failed to apply new conf',
| 1import io 2import os 3import time 4 5from unit.applications.lang.java import TestApplicationJava 6 7 8class TestJavaApplication(TestApplicationJava): 9 prerequisites = {'modules': {'java': 'all'}} 10 11 def test_java_conf_error(self): 12 self.skip_alerts.extend( 13 [ 14 r'realpath.*failed', 15 r'failed to apply new conf',
|
| 16 r'application setup failed',
|
16 ] 17 ) 18 self.assertIn( 19 'error', 20 self.conf( 21 { 22 "listeners": {"*:7080": {"pass": "applications/app"}}, 23 "applications": {
--- 1243 unchanged lines hidden --- | 17 ] 18 ) 19 self.assertIn( 20 'error', 21 self.conf( 22 { 23 "listeners": {"*:7080": {"pass": "applications/app"}}, 24 "applications": {
--- 1243 unchanged lines hidden --- |