Commit fbd9cfc
committed
Fix Shutdown Race Causing Test Delays
Don't poll the consumer if the container has already stopped.
This causes excessive test run times.
Local build time reduced from 7 minutes to less than 5.1 parent d60df68 commit fbd9cfc
File tree
1 file changed
+3
-0
lines changed- spring-kafka/src/main/java/org/springframework/kafka/listener
1 file changed
+3
-0
lines changedLines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1059 | 1059 | | |
1060 | 1060 | | |
1061 | 1061 | | |
| 1062 | + | |
| 1063 | + | |
| 1064 | + | |
1062 | 1065 | | |
1063 | 1066 | | |
1064 | 1067 | | |
| |||
0 commit comments