Skip to content

[Event Hubs] fixes flaky EventProcessor test#4574

Merged
chradek merged 2 commits intoAzure:masterfrom
chradek:eph-flaky-test
Jul 31, 2019
Merged

[Event Hubs] fixes flaky EventProcessor test#4574
chradek merged 2 commits intoAzure:masterfrom
chradek:eph-flaky-test

Conversation

@chradek
Copy link
Contributor

@chradek chradek commented Jul 31, 2019

One of the EventProcessor tests were failing in some environments.

This test was failing in some cases because the delay between starting and stopping an EventProcessor was too small, which meant sometimes an event wouldn't be received during the delay.

I increased the delay, and changed the 2nd start/stop check to only check that PartitionProcessor methods have been called.

@chradek
Copy link
Contributor Author

chradek commented Jul 31, 2019

/azp run js - eventhubs-client - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@chradek chradek merged commit 5384df1 into Azure:master Jul 31, 2019
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

Successfully merging this pull request may close these issues.

2 participants