mirror of https://github.com/status-im/consul.git
Use backport-compatible assertion (#15546)
* Use backport-compatible assertion * Add workaround for broken apt-get
This commit is contained in:
parent
386da5439a
commit
27c53f6c82
|
@ -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