Cobular / distest

A library used to do integration testing on discord bots
MIT License
29 stars 8 forks source link

Tests consistently timing out for some, but consistently work for others #54

Closed dyc3 closed 3 years ago

dyc3 commented 3 years ago

I'm working on a discord bot with a team of 3 other people. 2 people on our team are able to run our integration tests successfully and consistently. The other 2 people, when they run the exact same tests, with the exact same bot permissions for both the testee and tester bots, with the exact same channel permissions, they fail.

For example, the test

@test_collector()
async def test_ping(interface):
    await interface.assert_reply_contains("p!ping", "pong")

It's output: 2021-03-31-195544_553x136_scrot

Here's what we know so far:

dyc3 commented 3 years ago

We just found out that the bots weren't getting the correct target id