Skip to content
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

remote events: fix --stream=false #10558

Merged
merged 1 commit into from
Jun 4, 2021
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion pkg/api/handlers/compat/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func GetEvents(w http.ResponseWriter, r *http.Request) {
coder := json.NewEncoder(w)
coder.SetEscapeHTML(true)

for stream := true; stream; stream = query.Stream {
for {
select {
case err := <-errorChannel:
if err != nil {
Expand Down
4 changes: 1 addition & 3 deletions test/system/090-events.bats
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ load helpers
}

@test "image events" {
skip_if_remote "FIXME: remove events on podman-remote seem to be broken"
skip_if_remote "remote does not support --events-backend"
pushedDir=$PODMAN_TMPDIR/dir
mkdir -p $pushedDir

Expand Down Expand Up @@ -86,7 +86,5 @@ function _events_disjunctive_filters() {
}

@test "events with disjunctive filters - default" {
# NOTE: the last event for bar doesn't show up reliably.
skip_if_remote "FIXME #10529: remote events lose data"
_events_disjunctive_filters ""
}