Skip to content

Commit

Permalink
refactored test base to handle playback mode (Azure#33283)
Browse files Browse the repository at this point in the history
  • Loading branch information
brrusino authored Jan 4, 2023
1 parent b6d858c commit abed7d9
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ protected async Task Initialize()
/// </summary>
public int CreateVmssId()
{
if (this.Mode == RecordedTestMode.Playback)
{
return this.IsAsync ? 5 : 4;
}
var framework = RuntimeInformation.FrameworkDescription;
if (framework.IndexOf(TestConstants.DotNetFrameworkName, StringComparison.OrdinalIgnoreCase) != -1)
{
Expand Down

0 comments on commit abed7d9

Please sign in to comment.