Merge pull request #184524 from wentasah/raft-ignore-test

This commit is contained in:
Sandro
2022-08-02 23:19:37 +02:00
committed by GitHub
@@ -16,6 +16,14 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
# Ignore broken test, likely not causing huge breakage
# (https://github.com/canonical/raft/issues/292)
postPatch = ''
substituteInPlace test/integration/test_uv_tcp_connect.c --replace \
"TEST(tcp_connect, closeDuringHandshake, setUp, tearDownDeps, 0, NULL)" \
"TEST(tcp_connect, closeDuringHandshake, setUp, tearDownDeps, MUNIT_TEST_OPTION_TODO, NULL)"
'';
preConfigure = ''
substituteInPlace configure --replace /usr/bin/ " "
'';