Skip to content

Commit a78c2f5

Browse files
sarahethompsonjmurret
authored andcommitted
test GH fix (localhost resolution)
1 parent c3bbce0 commit a78c2f5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/test-integrations.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,9 @@ jobs:
281281
run: docker build -t ${{ env.CONSUL_LATEST_IMAGE_NAME }}:local -f ./build-support/docker/Consul-Dev.dockerfile .
282282
- name: Compatibility Integration Tests
283283
run: |
284+
cat /etc/hosts && echo "-----------"
285+
sudo sed -i 's/::1 *localhost ip6-localhost ip6-loopback/::1 ip6-localhost ip6-loopback/g' /etc/hosts
286+
cat /etc/hosts
284287
mkdir -p "/tmp/test-results"
285288
cd ./test/integration/consul-container
286289
docker run --rm ${{ env.CONSUL_LATEST_IMAGE_NAME }}:local consul version
@@ -349,6 +352,9 @@ jobs:
349352
run: docker build -t ${{ env.CONSUL_LATEST_IMAGE_NAME }}:local -f ./build-support/docker/Consul-Dev.dockerfile .
350353
- name: Upgrade Integration Tests
351354
run: |
355+
cat /etc/hosts && echo "-----------"
356+
sudo sed -i 's/::1 *localhost ip6-localhost ip6-loopback/::1 ip6-localhost ip6-loopback/g' /etc/hosts
357+
cat /etc/hosts
352358
mkdir -p "${{ env.TEST_RESULTS_DIR }}"
353359
cd ./test/integration/consul-container/test/upgrade
354360
docker run --rm ${{ env.CONSUL_LATEST_IMAGE_NAME }}:local consul version

0 commit comments

Comments
 (0)