spuru9 commented on code in PR #28261:
URL: https://github.com/apache/flink/pull/28261#discussion_r3332825913
##########
flink-state-backends/flink-statebackend-forst/src/test/java/org/apache/flink/state/forst/ForStStateBackendFactoryTest.java:
##########
@@ -97,11 +94,11 @@ public void testLoadForStStateBackend() throws Exception {
* parameters over configuration-defined parameters.
*/
@Test
- public void testLoadForStStateBackendMixed() throws Exception {
- final String localDir1 = tmp.newFolder().getAbsolutePath();
- final String localDir2 = tmp.newFolder().getAbsolutePath();
- final String localDir3 = tmp.newFolder().getAbsolutePath();
- final String localDir4 = tmp.newFolder().getAbsolutePath();
+ void testLoadForStStateBackendMixed() throws Exception {
+ final String localDir1 = TempDirUtils.newFolder(tmp).getAbsolutePath();
Review Comment:
Kept TempDirUtils.newFolder(tmp) since the paths are used as strings and one
test needs four — tidier than multiple @TempDir params; distinctness is needed
either way.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]