raft-canonical: ignore broken test

This commit is contained in:
Michal Sojka 2022-08-01 10:24:14 +02:00
parent 2a93ea177c
commit b693f928f0

View file

@ -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/ " "
'';