Fix 'No data found for...' errors in CI test runs.
This commit is contained in:
parent
d3a6915732
commit
4fd71e3a6b
|
|
@ -442,6 +442,10 @@ namespace Microsoft.AspNetCore.Server.Kestrel.FunctionalTests
|
||||||
dataset.Add($"http://[{ip}]:0/", GetTestUrls);
|
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;
|
return dataset;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue