Commit 6257655
[CALCITE-1060] Fix test deadlock by initializing DriverManager before registering AlternatingDriver
Early DriverManager initialization is required to prevent
Driver.<clinit> -> DriverManager.findServiceProviders -> Class.forName("Driver")
deadlock.
Note: proper resolution might need to add an entry for
"AlternatingDriver" to the service manifest.
Close apache#1851 parent af77ec8 commit 6257655
File tree
1 file changed
+4
-0
lines changed- avatica-server/src/test/java/org/apache/calcite/avatica/remote
1 file changed
+4
-0
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
71 | 75 | | |
72 | 76 | | |
73 | 77 | | |
| |||
0 commit comments