Fix 'No data found for...' errors in CI test runs.

This commit is contained in:
Cesar Blum Silveira 2017-02-21 11:08:40 -08:00
parent d3a6915732
commit 4fd71e3a6b
1 changed files with 4 additions and 0 deletions

View File

@ -442,6 +442,10 @@ namespace Microsoft.AspNetCore.Server.Kestrel.FunctionalTests
dataset.Add($"http://[{ip}]:0/", GetTestUrls);
}
// There may be no addresses with scope IDs and we need at least one data item in the
// collection, otherwise xUnit fails the test run because a theory has no data.
dataset.Add("http://[::1]:0", GetTestUrls);
return dataset;
}
}