Skip to content

Commit

Permalink
re-enable podman tests
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Goodman <[email protected]>
  • Loading branch information
wagoodman committed Aug 23, 2023
1 parent d1f3d76 commit b18f24d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions test/integration/podman_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,16 @@ package integration

import (
"bufio"
"context"
"github.com/anchore/stereoscope/internal/podman"
"github.com/docker/docker/client"
"github.com/stretchr/testify/assert"
"io"
"os"
"os/exec"
"path/filepath"
"testing"
"time"

"github.com/stretchr/testify/require"
)
Expand Down Expand Up @@ -36,7 +43,7 @@ func runAndShow(t *testing.T, cmd *exec.Cmd) {
// This was commented out until we can confirm the new behavior of the github runner
// tests started throwing "read: connection reset by peer" when connecting to ssh://root@localhost:2222/run/podman/podman.sock
// we might need to think of another creative way to test this, but in the meantime it has been failing stereoscope builds
/*

func TestPodmanConnections(t *testing.T) {
tests := []struct {
name string
Expand Down Expand Up @@ -115,4 +122,3 @@ func TestPodmanConnections(t *testing.T) {
})
}
}
*/
2 changes: 1 addition & 1 deletion test/integration/test-fixtures/podman/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/podman/stable
FROM quay.io/podman/stable:v4.6.0

EXPOSE 22

Expand Down

0 comments on commit b18f24d

Please sign in to comment.