diff --git a/SeatsioDotNet.Test/ExponentialBackoffTest.cs b/SeatsioDotNet.Test/ExponentialBackoffTest.cs index cc07531..5b0d614 100644 --- a/SeatsioDotNet.Test/ExponentialBackoffTest.cs +++ b/SeatsioDotNet.Test/ExponentialBackoffTest.cs @@ -10,7 +10,7 @@ public class ExponentialBackoffTest : SeatsioClientTest public void AbortsEventuallyIfServerKeepsReturning429() { var start = DateTimeOffset.Now; - var client = new SeatsioRestClient("https://httpbin.org"); + var client = new SeatsioRestClient("https://httpbin.seatsio.net"); var response = client.Execute(new RestRequest("/status/429", Method.Get)); @@ -25,7 +25,7 @@ public void AbortsEventuallyIfServerKeepsReturning429() public void AbortsDirectlyIfServerReturnsOtherErrorThan429() { var start = DateTimeOffset.Now; - var client = new SeatsioRestClient("https://httpbin.org"); + var client = new SeatsioRestClient("https://httpbin.seatsio.net"); var response = client.Execute(new RestRequest("/status/400", Method.Get)); @@ -39,7 +39,7 @@ public void AbortsDirectlyIfServerReturnsOtherErrorThan429() public void AbortsDirectlyIfServerReturnsError429ButMaxRetries0() { var start = DateTimeOffset.Now; - var client = new SeatsioRestClient("https://httpbin.org", 0); + var client = new SeatsioRestClient("https://httpbin.seatsio.net", 0); var response = client.Execute(new RestRequest("/status/429", Method.Get)); @@ -52,7 +52,7 @@ public void AbortsDirectlyIfServerReturnsError429ButMaxRetries0() [Fact] public void ReturnsSuccessfullyWhenTheServerSendsA429FirstAndThenASuccessfulResponse() { - var client = new SeatsioRestClient("https://httpbin.org"); + var client = new SeatsioRestClient("https://httpbin.seatsio.net"); for (var i = 0; i < 20; ++i) { var response = client.Execute(new RestRequest("/status/429:0.25,204:0.75", Method.Get));