Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

Commit f405e66

Browse files
committed
fix test in travis
1 parent 19123b1 commit f405e66

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/test/java/com/upplication/s3fs/FileSystemProviderIT.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ public void setup() throws IOException {
4040
}
4141
provider = spy(new S3FileSystemProvider());
4242
doReturn(buildFakeProps()).when(provider).loadAmazonProperties();
43+
// dont override with system envs that we can have setted, like travis
44+
doReturn(false).when(provider).overloadPropertiesWithSystemEnv(any(Properties.class), anyString());
45+
doReturn(false).when(provider).overloadPropertiesWithSystemProps(any(Properties.class), anyString());
4346
}
4447

4548
@Test

0 commit comments

Comments
 (0)