Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@ class S3InboundChannelAdapterTests implements LocalstackContainerTest {
private PollableChannel s3FilesChannel;

@BeforeAll
static void setup() {
static void setup() throws IOException {
S3 = LocalstackContainerTest.s3Client();
S3.createBucket(request -> request.bucket(S3_BUCKET));
S3.putObject(request -> request.bucket(S3_BUCKET).key("subdir/a.test"), RequestBody.fromString("Hello"));
S3.putObject(request -> request.bucket(S3_BUCKET).key("subdir/b.test"), RequestBody.fromString("Bye"));

LOCAL_FOLDER = TEMPORARY_FOLDER.resolve("local").toFile();
LOCAL_FOLDER = TEMPORARY_FOLDER.toRealPath().resolve("local").toFile();
}

@Test
Expand Down