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

Flaky test: test_uamiv_format_write #3881

Closed
max-sixty opened this issue Mar 23, 2020 · 2 comments
Closed

Flaky test: test_uamiv_format_write #3881

max-sixty opened this issue Mar 23, 2020 · 2 comments

Comments

@max-sixty
Copy link
Collaborator

I've seen a couple of failures recently on this test. Flaky tests are really annoying and would be great to fix or if impossible, remove it. Does anyone have any ideas what's causing this?

________________ TestPseudoNetCDFFormat.test_uamiv_format_write ________________

self = <xarray.tests.test_backends.TestPseudoNetCDFFormat object at 0x7f15352b9d00>

    def test_uamiv_format_write(self):
        fmtkw = {"format": "uamiv"}
    
        expected = open_example_dataset(
            "example.uamiv", engine="pseudonetcdf", backend_kwargs=fmtkw
        )
        with self.roundtrip(
            expected,
            save_kwargs=fmtkw,
            open_kwargs={"backend_kwargs": fmtkw},
            allow_cleanup_failure=True,
        ) as actual:
>           assert_identical(expected, actual)
E           AssertionError: Left and right Dataset objects are not identical
E           
E           
E           
E           Differing attributes:
E           L   WTIME: 190117
E           R   WTIME: 190118

xarray/tests/test_backends.py:3563: AssertionError
@keewis
Copy link
Collaborator

keewis commented Mar 23, 2020

this might be related to / a duplicate of #3711

@max-sixty
Copy link
Collaborator Author

Thanks @keewis . Closing as duplicate

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