[Debian-ha-maintainers] Bug#902104: [libqb] Please fix building on riscv64

wferi at niif.hu wferi at niif.hu
Mon Dec 3 18:23:54 GMT 2018


Giovanni Mascellani <gio at debian.org> writes:

> Some test timeouts are currently too small for architecture riscv64,
> which is built on rather slow QEMU virtual machines. This patch
> increases the timeout, so that automated building does not fail.

Hi Giovanni,

I notice the latest build of 1.0.3-2 succeeded on riscv64, even though I
forgot to include the prepared patch.  Is this just by random chance, or
did anything change to fix this problem?

By the way, I meant to cut the stress test length to speed up the
builds, instead of enlarging the timeout.  Something like this:

--- a/tests/check_ipc.c
+++ b/tests/check_ipc.c
@@ -1003,7 +1003,7 @@ test_ipc_stress_connections(void)
        fail_if(pid == -1);
        sleep(1);
 
-       for (connections = 1; connections < 70000; connections++) {
+       for (connections = 1; connections < 10000; connections++) {
                if (conn) {
                        qb_ipcc_disconnect(conn);
                        conn = NULL;

If action is still needed (please confirm), would this suffice?
-- 
Regards,
Feri



More information about the Debian-ha-maintainers mailing list