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

EVA test_duplex failing on Mac #6195

Closed
ichorid opened this issue Jun 30, 2021 · 0 comments · Fixed by #6207
Closed

EVA test_duplex failing on Mac #6195

ichorid opened this issue Jun 30, 2021 · 0 comments · Fixed by #6207
Assignees

Comments

@ichorid
Copy link
Contributor

ichorid commented Jun 30, 2021

Reported by @devos50 during PR tests on Mac

self = <test_eva_protocol.TestEVA testMethod=test_duplex>

    async def test_duplex(self):
        count = 100
        block_size = 10
    
        self.overlay(0).eva_protocol.block_size = block_size
        self.overlay(1).eva_protocol.block_size = block_size
    
        data0 = os.urandom(1), os.urandom(block_size * count), random.randrange(0, 256)
        data1 = os.urandom(1), os.urandom(block_size * count), random.randrange(0, 256)
    
        self.overlay(0).eva_send_binary(self.peer(1), *data0)
        self.overlay(1).eva_send_binary(self.peer(0), *data1)
    
        await drain_loop(asyncio.get_event_loop())
    
>       assert self.overlay(0).most_recent_received_data == data1
E       AssertionError: assert None == (b'N', b'\nN\...xcbw\xa8', 33)
E         +None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

2 participants