[gvfs/wip/oholy/dav-tests] test: Use different httpd port to fix CI



commit 986bb4cd9d5d5fca5f784a2e7d7fb7deb072da67
Author: Ondrej Holy <oholy redhat com>
Date:   Wed Jan 29 10:44:12 2020 +0100

    test: Use different httpd port to fix CI
    
    Port 8088 seems to be used by something else in our GitLab CI. Try
    8089 instead to prevent httpd failures.

 test/gvfs-test | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/test/gvfs-test b/test/gvfs-test
index 2c37deeb..83765ad0 100755
--- a/test/gvfs-test
+++ b/test/gvfs-test
@@ -1391,7 +1391,7 @@ class Dav(GvfsTestCase):
                 modules += 'LoadModule %s_module %s/mod_%s.so\n' % (m, klass.mod_dir, m)
 
         with open(os.path.join(klass.httpd_sandbox, 'apache2.conf'), 'w') as f:
-            f.write('''Listen localhost:8088
+            f.write('''Listen localhost:8089
 Listen localhost:4443
 %(modules)s
 
@@ -1484,7 +1484,7 @@ DAVLockDB DAVLock
     def test_http_noauth(self):
         '''dav://localhost without credentials'''
 
-        uri = 'dav://localhost:8088/public'
+        uri = 'dav://localhost:8089/public'
         subprocess.check_call(['gio', 'mount', uri])
         self.do_mount_check(uri, 'hello.txt', 'hi\n')
 
@@ -1507,7 +1507,7 @@ DAVLockDB DAVLock
     def test_http_auth(self):
         '''dav://localhost with credentials'''
 
-        uri = 'dav://localhost:8088/secret'
+        uri = 'dav://localhost:8089/secret'
 
         mount = subprocess.Popen(['gio', 'mount', uri],
                                  stdin=subprocess.PIPE,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]