This is an automated email from the ASF dual-hosted git repository.

qiuxiafan pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-showcase.git


The following commit(s) were added to refs/heads/main by this push:
     new e594698  Revert sleep time for webdriver (#224)
e594698 is described below

commit e5946986f3a35649c7508775ced32f932712349c
Author: Fine0830 <[email protected]>
AuthorDate: Mon Jan 12 13:54:53 2026 +0800

    Revert sleep time for webdriver (#224)
---
 services/load-gen/loadgen.py | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

diff --git a/services/load-gen/loadgen.py b/services/load-gen/loadgen.py
index 78696e6..7051b87 100644
--- a/services/load-gen/loadgen.py
+++ b/services/load-gen/loadgen.py
@@ -51,12 +51,5 @@ while True:
         print(f"Error: {e}")
         traceback.print_exc()
         break
-    # Wait a moment on the page
-    time.sleep(30)
-    
-    # Close the page (navigate to blank page)
-    print("Closing page...")
-    driver.get("about:blank")
-    
-    # Wait while page is closed
-    time.sleep(30)
+    finally:
+        time.sleep(10)  # Wait for 10 seconds before the next iteration

Reply via email to