Skip to content

Commit

Permalink
Fixed broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
enricovianello committed Jul 14, 2020
1 parent 2a6a823 commit 6ceaff8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ private File createTempGridMapDir() throws IOException {
temp.deleteOnExit();

for (int idx = 1; idx <= N_POOL; idx++) {
String lFileName = String.format("%s%02d", mAccountPrefix, idx);
String lFileName = String.format("%s%03d", mAccountPrefix, idx);
File f = new File(temp, lFileName);
f.createNewFile();
f.deleteOnExit();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,15 @@ private File createTempGridMapDir() throws IOException {
// populate with pool accounts
for (String prefix : prefixes) {
for (int i = 1; i <= N_POOL; i++) {
File f = new File(temp, prefix + "0" + i);
File f = new File(temp, prefix + "00" + i);
f.createNewFile();
f.deleteOnExit();
}
}
// create invalid files
for (String invalid : invalids) {
for (int i = 1; i <= N_POOL; i++) {
File f = new File(temp, invalid + "0" + i);
File f = new File(temp, invalid + "00" + i);
f.createNewFile();
f.deleteOnExit();
}
Expand Down

0 comments on commit 6ceaff8

Please sign in to comment.