Skip to content

Commit

Permalink
ci: report error
Browse files Browse the repository at this point in the history
  • Loading branch information
Zxilly committed Nov 26, 2024
1 parent bb75dab commit 1227615
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/test.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import atexit
import http.server
import logging
import os
import socketserver
import subprocess
Expand All @@ -24,6 +25,7 @@ def do_GET(self):
self.send_response(200)
else:
self.send_response(400)
logging.error(f"Invalid User-Agent: {user_agent}")
self.end_headers()
ua_len = len(user_agent)
self.wfile.write(str(ua_len).encode())
Expand Down Expand Up @@ -72,7 +74,7 @@ def cleanup_iptables():

print(f"Starting UA2F: {ua2f}")

time.sleep(2)
time.sleep(3)

for i in range(10000):
nxt = ua.random
Expand Down

0 comments on commit 1227615

Please sign in to comment.