Skip to content

Commit 0afb886

Browse files
committed
Stop using httpbin.org for testing (now very unreliable)
New solution is just a quick hack too, but at least it's a bit more stable - httpbin.org just times out most of the time now.
1 parent 483d343 commit 0afb886

File tree

1 file changed

+1
-1
lines changed
  • test-app/src/main/java/tech/httptoolkit/testapp

1 file changed

+1
-1
lines changed

test-app/src/main/java/tech/httptoolkit/testapp/Main.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public static void main(String[] args) throws Exception {
4141
String pid = runtimeName.split("@")[0];
4242
System.out.println("PID: " + pid); // Purely for convenient manual attachment to this process
4343

44-
String url = "https://httpbin.org/404/"; // Always returns a 404, quelle surprise
44+
String url = "https://example.com/404/"; // Always returns a 404
4545
ExecutorService executor = Executors.newCachedThreadPool();
4646

4747
while (true) {

0 commit comments

Comments
 (0)