-
Notifications
You must be signed in to change notification settings - Fork 188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Github-issue#1048 : s3-sink with local-file buffer implementation. #2645
Changes from 1 commit
ab1862c
00e2e5f
dbe2811
1cff631
45e1242
00f59cf
c2394dc
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,16 +15,15 @@ class LocalFileBufferFactoryTest { | |
void test_localFileBufferFactory_notNull() { | ||
LocalFileBufferFactory localFileBufferFactory = new LocalFileBufferFactory(); | ||
Assertions.assertNotNull(localFileBufferFactory); | ||
assertThat(localFileBufferFactory, instanceOf(LocalFileBufferFactory.class)); | ||
} | ||
|
||
@Test | ||
void test_buffer_notNull() { | ||
LocalFileBufferFactory localFileBufferFactory = new LocalFileBufferFactory(); | ||
Assertions.assertNotNull(localFileBufferFactory); | ||
assertThat(localFileBufferFactory, instanceOf(LocalFileBufferFactory.class)); | ||
Buffer buffer = localFileBufferFactory.getBuffer(); | ||
Assertions.assertNotNull(buffer); | ||
assertThat(buffer, instanceOf(Buffer.class)); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You should assert that this is an instance of
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Addressed. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @deepaksahu562 , Did you push the change here? I don't see a new assertion for this. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @dlvenable, Earlier, I didn't understand. Now I can understand and modify as requested. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It should be as simple as changing this line to:
Here it is with a little more context.
We already know this is a There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please change this line per my latest comment. Then we should be good. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks for your clarification, Modified as you suggested. |
||
assertThat(buffer, instanceOf(LocalFileBuffer.class)); | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this is a good change. Thanks!