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

snuyanzin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/master by this push:
     new 35f8d7a57d1 [hotfix][tests] Replace deprecated `Thread#stop` in 
`SuperstepKickoffLatchTest`
35f8d7a57d1 is described below

commit 35f8d7a57d12153b41b2c4eda8c65222f03518a1
Author: Sergey Nuyanzin <[email protected]>
AuthorDate: Sat Apr 25 09:21:28 2026 +0200

    [hotfix][tests] Replace deprecated `Thread#stop` in 
`SuperstepKickoffLatchTest`
---
 .../flink/runtime/iterative/concurrent/SuperstepKickoffLatchTest.java | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 
a/flink-runtime/src/test/java/org/apache/flink/runtime/iterative/concurrent/SuperstepKickoffLatchTest.java
 
b/flink-runtime/src/test/java/org/apache/flink/runtime/iterative/concurrent/SuperstepKickoffLatchTest.java
index 164dcc016bc..a6552482046 100644
--- 
a/flink-runtime/src/test/java/org/apache/flink/runtime/iterative/concurrent/SuperstepKickoffLatchTest.java
+++ 
b/flink-runtime/src/test/java/org/apache/flink/runtime/iterative/concurrent/SuperstepKickoffLatchTest.java
@@ -224,7 +224,9 @@ public class SuperstepKickoffLatchTest {
 
                     toWatch.join(2000);
                     if (toWatch.isAlive()) {
-                        toWatch.stop();
+                        this.failed =
+                                new Exception(
+                                        "Watched thread did not respond to 
interrupt within 2s");
                     }
                 }
             } catch (Throwable t) {

Reply via email to