This is an automated email from the ASF dual-hosted git repository.

szetszwo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ratis.git


The following commit(s) were added to refs/heads/master by this push:
     new 43915d2  RATIS-1361. Connection errors in tests (#464)
43915d2 is described below

commit 43915d258b6abab857d067669ed2ef11948cf410
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Tue Apr 20 16:39:34 2021 +0200

    RATIS-1361. Connection errors in tests (#464)
---
 .github/workflows/post-commit.yml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.github/workflows/post-commit.yml 
b/.github/workflows/post-commit.yml
index 2cfe002..7aee48a 100644
--- a/.github/workflows/post-commit.yml
+++ b/.github/workflows/post-commit.yml
@@ -88,6 +88,11 @@ jobs:
           - misc
       fail-fast: ${{ github.event_name == 'pull_request' }}
     steps:
+        # TEMPORARY WHILE GITHUB FIXES 
https://github.com/actions/virtual-environments/issues/3185
+        - name: Add the current IP address, long hostname and short hostname 
record to /etc/hosts file
+          run: |
+            echo -e "$(ip addr show eth0 | grep "inet\b" | awk '{print $2}' | 
cut -d/ -f1)\t$(hostname -f) $(hostname -s)" | sudo tee -a /etc/hosts
+        # REMOVE CODE ABOVE WHEN ISSUE IS ADDRESSED!
         - uses: actions/checkout@master
         - name: Cache for maven dependencies
           uses: actions/cache@v2

Reply via email to