You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by tv...@apache.org on 2022/03/18 04:45:50 UTC
[buildstream] 01/01: tests/testutils/artifactshare.py: Testing 127.0.0.1 instead of localhost
This is an automated email from the ASF dual-hosted git repository.
tvb pushed a commit to branch tristan/bst-1/testing-cas-cache-scaffold
in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit bcd55c68bbc0f8fbdb4ab76154085346b21dd73f
Author: Tristan van Berkom <tr...@codethink.co.uk>
AuthorDate: Fri Mar 18 13:44:46 2022 +0900
tests/testutils/artifactshare.py: Testing 127.0.0.1 instead of localhost
This could theoretically allow tests to pass on some CI runners.
---
tests/testutils/artifactshare.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/testutils/artifactshare.py b/tests/testutils/artifactshare.py
index 0318686..c2f0e79 100644
--- a/tests/testutils/artifactshare.py
+++ b/tests/testutils/artifactshare.py
@@ -89,7 +89,7 @@ class ArtifactShare():
max_head_size=self.max_head_size,
min_head_size=self.min_head_size,
enable_push=True)
- port = server.add_insecure_port('localhost:0')
+ port = server.add_insecure_port('127.0.0.1:0')
server.start()