Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test 'test_commands.cpp' fails on ppc64le #27

Open
casKd-dev opened this issue Dec 8, 2020 · 2 comments
Open

Test 'test_commands.cpp' fails on ppc64le #27

casKd-dev opened this issue Dec 8, 2020 · 2 comments

Comments

@casKd-dev
Copy link

casKd-dev commented Dec 8, 2020

The test case basic commands fails on a Alpine Linux host on ppc64le.

wait_for([&] { return his == 26; });
    {
        auto lock = catch_lock();
        REQUIRE( hellos == 51 );
        REQUIRE( his == 26 );
    }

Host:
Alpine-Linux edge
musl-1.2.2_pre5
gcc-10.2.1_pre1
catch2-2.13.3

Links:
https://github.com/loki-project/loki-mq/blob/dev/tests/test_commands.cpp#L74
https://gitlab.alpinelinux.org/caskd/aports/-/jobs/264864#L217

@jagerman
Copy link
Member

jagerman commented Dec 8, 2020

Is this machine or architecture particularly slow? You can try maybe changing 10 to a bigger number here:

https://github.com/loki-project/loki-mq/blob/178bd4f674797560ed7938ac7c9508ea972eeeef/tests/common.h#L22

to give the test suite longer to wait for results.

@casKd-dev
Copy link
Author

Is this machine or architecture particularly slow?

I really doubt this has to do with the machine performance since this machine is really fast.

>>> Host system information (arch: ppc64le, release: edge) <<<
- Number of Cores: 64
- Memory: 127.594 Gb
- Free space: 1.7T

https://gitlab.alpinelinux.org/caskd/aports/-/jobs/264864#L31-L33

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants