mirror of https://github.com/hashicorp/consul
Backport of Use backport-compatible assertion into release/1.14.x (#15549)
This pull request was automerged via backport-assistantpull/15552/head
parent
8dcbee57e6
commit
ab9e13c4e0
|
@ -491,7 +491,10 @@ jobs:
|
||||||
GOOS: linux
|
GOOS: linux
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run: sudo apt-get update --allow-releaseinfo-change-suite --allow-releaseinfo-change-version && sudo apt-get install -y gcc-arm-linux-gnueabi gcc-arm-linux-gnueabihf gcc-aarch64-linux-gnu
|
- run:
|
||||||
|
command: |
|
||||||
|
sudo rm -fv /etc/apt/sources.list.d/github_git-lfs.list # workaround for https://github.com/actions/runner-images/issues/1983
|
||||||
|
sudo apt-get update --allow-releaseinfo-change-suite --allow-releaseinfo-change-version && sudo apt-get install -y gcc-arm-linux-gnueabi gcc-arm-linux-gnueabihf gcc-aarch64-linux-gnu
|
||||||
- run:
|
- run:
|
||||||
environment:
|
environment:
|
||||||
GOARM: 5
|
GOARM: 5
|
||||||
|
|
|
@ -964,6 +964,6 @@ func TestClient_RPC_Timeout(t *testing.T) {
|
||||||
},
|
},
|
||||||
}, &out)
|
}, &out)
|
||||||
require.Error(t, err)
|
require.Error(t, err)
|
||||||
require.ErrorContains(t, err, "rpc error making call: i/o deadline reached")
|
require.Contains(t, err.Error(), "rpc error making call: i/o deadline reached")
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue