Skip to content

[Templates] Separate F# from C# tests, unskip tests, include reliability improvements #14261

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

Merged
merged 1 commit into from
Sep 23, 2019

Conversation

javiercn
Copy link
Member

  • Separates F# from C# tests. These tests have very different runtime
    characteristics and should not be bundled together as the same test
    scenario. For example, we want to quickly separate F# specific issues
    from C# specific ones.
  • Unskipping all skipped tests as the issue tracking their flakyness
    was closed.
  • Adding reliability improvements to network requests.
    • Adds retries.

}, logger: NullLogger.Instance);

Assert.True(IsSuccessStatusCode(result), $"{anchor.Href} is a broken link!");
}
}
}

private async Task<T> RequestWithRetries<T>(Func<HttpClient, Task<T>> requester, HttpClient client, int retries = 3, TimeSpan initialDelay = default)
Copy link
Contributor

Choose a reason for hiding this comment

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

I could have sworn we already had a function like this but I can't find it.

Copy link
Member Author

Choose a reason for hiding this comment

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

I was doing it wrong in another PR so i ended up not merging it.

@javiercn javiercn force-pushed the javiercn/separate-fsharp-tests branch from ece1c31 to c7dc422 Compare September 23, 2019 18:26
@javiercn javiercn removed the request for review from SteveSandersonMS September 23, 2019 18:26
@javiercn javiercn added the tell-mode Indicates a PR which is being merged during tell-mode label Sep 23, 2019
…ity improvements.

* Separates F# from C# tests. These tests have very different runtime
  characteristics and should not be bundled together as the same test
  scenario. For example, we want to quickly separate F# specific issues
  from C# specific ones.
* Unskipping all skipped tests as the issue tracking their flakyness
  was closed.
* Adding reliability improvements to network requests.
  * Adds retries.
@javiercn javiercn removed the tell-mode Indicates a PR which is being merged during tell-mode label Sep 23, 2019
@javiercn javiercn force-pushed the javiercn/separate-fsharp-tests branch from c7dc422 to 505d68b Compare September 23, 2019 20:53
@javiercn javiercn merged commit 2c17931 into release/3.1 Sep 23, 2019
@ghost ghost deleted the javiercn/separate-fsharp-tests branch September 23, 2019 23:08
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