4.x: Close sessions properly in DefaultMetadataTabletMapIT#682
Conversation
50454e7 to
b1dd53c
Compare
|
I'm not sure why the produced diff looks so utterly confusing, but what this change does is truly just move sessions into variables inside resources sections (and apply formatter). |
|
I see bind exceptions in the logs and that the shard awareness test is still failing (but only for 1 job instead of 3), so maybe it is worth making it less heavy. |
Moves additional sessions used in this test into try-with-resources statements, ensuring that they are closed afterwards.
Adding as a separate commit because otherwise the diff is hard to understand in contrast to what it actually does.
b1dd53c to
690831c
Compare
|
Rebased on top of scylla-4.x. |
Moves additional sessions used in this test into try-with-resources statements, ensuring that they are closed afterwards.
Fixes #678.