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

intermittent unit test failure #11

Open
gregcaporaso opened this issue May 9, 2024 · 1 comment
Open

intermittent unit test failure #11

gregcaporaso opened this issue May 9, 2024 · 1 comment

Comments

@gregcaporaso
Copy link
Member

I just ran the test suite and got the failure below. I re-ran the test suite, and didn't get it again, so I think maybe this is an intermittent test failure resulting to the non-deterministic underlying functionality. Not urgent, but if we can make this a really low frequency occurrence that will be convenient, but at the very least it's documented here.

__________________________________________________________________________________________________ TestBootstrapIteration.test_bootstrap_iteration __________________________________________________________________________________________________

self = <test_normalize.TestBootstrapIteration testMethod=test_bootstrap_iteration>

    def test_bootstrap_iteration(self):
        t = Table(np.array([[0, 1, 3], [1, 1, 2]]),
                  ['O1', 'O2'],
                  ['S1', 'S2', 'S3'])
        a = _bootstrap_iteration(t, 2)
>       self.assertEqual(a.shape, (2, 2))
E       AssertionError: Tuples differ: (1, 2) != (2, 2)
E
E       First differing element 0:
E       1
E       2
E
E       - (1, 2)
E       ?  ^
E
E       + (2, 2)
E       ?  ^

q2_boots/tests/test_normalize.py:24: AssertionError
@gregcaporaso
Copy link
Member Author

Ok, just got it again, so maybe this isn't very uncommon.

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

1 participant