Skip to content
New issue

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

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

Already on GitHub? # to your account

Investigate possible race condition in fqgrep #19

Open
nh13 opened this issue Dec 14, 2022 · 0 comments
Open

Investigate possible race condition in fqgrep #19

nh13 opened this issue Dec 14, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@nh13
Copy link
Member

nh13 commented Dec 14, 2022

One of the github actions unit tests failed on test_reads_when_count_false. It passed when re-run, so this gives me pause.

I have run it locally and seen a sporadic failure:

for i in $(seq 1000)
do
    echo on test $i
    cargo test &> run.log
    retval=$?
    grep "test result" run.log | sed 's/^/  /';
    if [ "$retval" == "0" ]; then
        echo Test $i passed
        rm run.log
    else
        echo Test $i failed, check run.log
        exit 1;
    fi
done

I wonder if there's some type of race condition or out of order output.

@nh13 nh13 added the bug Something isn't working label Dec 15, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant