Commit dafea32
committed
Fix KafkaAdminBadContextTests
Locally, I find the admin is sometimes created even with a bad host causing the test to fail.
Also, topic creation logged an error but did not throw an exception.
Fixed the test to expect one of two exceptions.
(cherry picked from commit 257d9c3)
Conflicts:
spring-kafka/src/main/java/org/springframework/kafka/core/KafkaAdmin.java1 parent cc50e25 commit dafea32
File tree
2 files changed
+2
-2
lines changed- spring-kafka/src
- main/java/org/springframework/kafka/core
- test/java/org/springframework/kafka/core
2 files changed
+2
-2
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
226 | | - | |
| 226 | + | |
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
0 commit comments