-
Notifications
You must be signed in to change notification settings - Fork 552
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
wasm: logging tests #17208
wasm: logging tests #17208
Conversation
ducktape was retried in https://buildkite.com/redpanda/redpanda/builds/46478#018e5a07-e2d1-42ff-8b01-f928ae03cd59 ducktape was retried in https://buildkite.com/redpanda/redpanda/builds/46478#018e5a07-e2c7-40e9-a6f4-2e6978e97c07 ducktape was retried in https://buildkite.com/redpanda/redpanda/builds/46515#018e5db1-da76-414a-b81f-bdb483c3b13a ducktape was retried in https://buildkite.com/redpanda/redpanda/builds/46515#018e62e4-3168-4ec5-b597-c4959b1b7023 |
new failures in https://buildkite.com/redpanda/redpanda/builds/46478#018e5a1a-57a3-48a8-8497-578010266b47:
new failures in https://buildkite.com/redpanda/redpanda/builds/46515#018e62e4-3168-4ec5-b597-c4959b1b7023:
|
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.
nice
ss::sstring expected; | ||
// NOLINTNEXTLINE(*-reinterpret-cast) | ||
expected.append(reinterpret_cast<const char*>(bytes.data()), bytes.size()); | ||
EXPECT_THAT(log_lines(), ElementsAre(expected)); |
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.
slick
Signed-off-by: Tyler Rockwood <rockwood@redpanda.com>
Capture logs in the test fixture so we can assert the correct behavior in the transform code. Signed-off-by: Tyler Rockwood <rockwood@redpanda.com>
This test ensures that we properly implement wasi's fd_write method Signed-off-by: Tyler Rockwood <rockwood@redpanda.com>
Add e2e tests for each language that logging works as expected. Note that in Rust if we don't buffer everything Rust's library will call write(2) multiple times. Signed-off-by: Tyler Rockwood <rockwood@redpanda.com>
/ci-repeat |
Followup to #17186
Backports Required
Release Notes