Skip to content

Commit

Permalink
[FLINK-7222] [kafka] Fix invalid symbol * when create directory on wi…
Browse files Browse the repository at this point in the history
…ndows

This closes apache#4361.
  • Loading branch information
FangYongs authored and zentol committed Jul 19, 2017
1 parent 5ac1324 commit 2ee6ff5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ public void prepare(int numKafkaServers, Properties additionalServerProperties,
tmpZkDir = new File(tempDir, "kafkaITcase-zk-dir-" + (UUID.randomUUID().toString()));
assertTrue("cannot create zookeeper temp dir", tmpZkDir.mkdirs());

tmpKafkaParent = new File(tempDir, "kafkaITcase-kafka-dir*" + (UUID.randomUUID().toString()));
tmpKafkaParent = new File(tempDir, "kafkaITcase-kafka-dir-" + (UUID.randomUUID().toString()));
assertTrue("cannot create kafka temp dir", tmpKafkaParent.mkdirs());

tmpKafkaDirs = new ArrayList<>(numKafkaServers);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ public void prepare(int numKafkaServers, Properties additionalServerProperties,
tmpZkDir = new File(tempDir, "kafkaITcase-zk-dir-" + (UUID.randomUUID().toString()));
assertTrue("cannot create zookeeper temp dir", tmpZkDir.mkdirs());

tmpKafkaParent = new File(tempDir, "kafkaITcase-kafka-dir*" + (UUID.randomUUID().toString()));
tmpKafkaParent = new File(tempDir, "kafkaITcase-kafka-dir-" + (UUID.randomUUID().toString()));
assertTrue("cannot create kafka temp dir", tmpKafkaParent.mkdirs());

tmpKafkaDirs = new ArrayList<>(numKafkaServers);
Expand Down

0 comments on commit 2ee6ff5

Please sign in to comment.