Skip to content

Commit

Permalink
Add tmpdir config to travis
Browse files Browse the repository at this point in the history
  • Loading branch information
acktsap committed Sep 24, 2019
1 parent f5b1fea commit 65fb301
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ jdk:

dist: trusty

env:
global:
- TMPDIR=/tmp

sudo: false

before_cache:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public void testStoreAndLoad() {
final Authentication authentication = Authentication.of(identity, password);
keyStore.save(authentication, key);

final String path = System.getProperty("java.io.tmpdir") + randomUUID().toString();
final String path = System.getProperty("java.io.tmpdir") + "/" + randomUUID().toString();
final char[] keyStorePassword = randomUUID().toString().toCharArray();
keyStore.store(path, keyStorePassword);

Expand Down

0 comments on commit 65fb301

Please sign in to comment.