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

Increase timeouts.directLine from 5000 to 15000 #2081

Merged
merged 1 commit into from Jun 13, 2019
Merged

Conversation

BruceHaley
Copy link
Contributor

Fixes 4 tests timing out in BotFramework-WebChat-CI-PR.

@compulim
Copy link
Contributor

I believe this one will not work 90% of the time. It is because if Web Chat did not receive the message within 5 seconds, Web Chat probably won't receive the message within 15 seconds. It was because, most of the time, the message is lost in space.

Retry will make it more reliable, we set retry to 3 times now.

@compulim compulim closed this Jun 13, 2019
@compulim compulim reopened this Jun 13, 2019
@compulim
Copy link
Contributor

After discussing offline, this may makes sense because the network infrastructure on VSTS hosted agent may be much slower than our previous agent. And 15s might fix a few issues.

Anyway, we will have #1680 to move Mockbot inside a browser, so we will skip the public Direct Line infrastructure. This could be ultimate fix for this.

Copy link
Contributor

@compulim compulim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's bring this in for now.

@compulim compulim merged commit c957f3e into master Jun 13, 2019
@BruceHaley BruceHaley deleted the testtimeouts2 branch June 13, 2019 23:09
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.

None yet

2 participants