-
Notifications
You must be signed in to change notification settings - Fork 640
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
fix: logs updated on starting of a stopped container #3896
base: main
Are you sure you want to change the base?
Conversation
49019a2
to
ccb179d
Compare
@AkihiroSuda |
ccb179d
to
e8fb6c4
Compare
@Shubhranshu153 I just have a batch of nits on the test. Btw, feedback on the test framework is highly welcome. Ideally, if we get #3591 in first, we can get rid of the added DelayOnceReaders here (and unbuffer). But anyhow, don't sweat it - I can clean that up afterwards if needed. |
df70bc7
to
72193e6
Compare
Two last small nits. @AkihiroSuda suggesting we merge this here before #3890 and I will take care of the rebase over there instead of putting @Shubhranshu153 through another round of test tweaks. |
72193e6
to
64e9b6a
Compare
@apostasie can we rerun this failed test, seems unrelated to the change. |
I don't have rights to do that. About the failures:
The last one, jury is out. |
About the last failure, suggesting you try this on your local environment:
Give it a few minutes. Let me know if it flakes out with / without your patch. |
Alternatively you can also just close and reopen the PR to trigger a full rebuild |
@apostasie
|
Thanks the retry of the test passed. |
func TestLogsWithStartContainer(t *testing.T) { | ||
testCase := nerdtest.Setup() | ||
testCase.Require = test.Require(test.Not(test.Windows), | ||
test.Not(nerdtest.Docker)) |
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.
Could you add a comment to explain the reason
Signed-off-by: Shubharanshu Mahapatra <[email protected]>
64e9b6a
to
35043f4
Compare
@Shubhranshu153 testing framework PR got merged. Here is the TL;DR for you to update your PR:
|
Issue:
When we start a container that was running and stopped or exited, logs are not updated.
Steps to Reproduce:
step 1: Run and exit container
fix:
The pr fixes it by adding multiwriters to start of containers.