summaryrefslogtreecommitdiff
path: root/tests/thread/stress_aes.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/thread/stress_aes.py')
-rw-r--r--tests/thread/stress_aes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/thread/stress_aes.py b/tests/thread/stress_aes.py
index b25da855a..9f4a4e6ae 100644
--- a/tests/thread/stress_aes.py
+++ b/tests/thread/stress_aes.py
@@ -282,6 +282,6 @@ if __name__ == "__main__":
for i in range(n_thread):
_thread.start_new_thread(thread_entry, (n_loop,))
thread_entry(n_loop)
- while count.value < n_thread:
+ while count.value < n_thread + 1:
time.sleep(1)
print("done")