Skip to content

Commit

Permalink
user
Browse files Browse the repository at this point in the history
Signed-off-by: Tullio Sebastiani <[email protected]>
  • Loading branch information
tsebastiani committed Oct 25, 2024
1 parent 578faaa commit e66ad21
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/container_manager/podman/container_manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"github.com/krkn-chaos/krknctl/pkg/container_manager"
"github.com/krkn-chaos/krknctl/pkg/provider/quay"
"github.com/stretchr/testify/assert"
"os/user"
"testing"
)

Expand Down Expand Up @@ -36,6 +37,9 @@ func TestConnect(t *testing.T) {
cm := ContainerManager{
Config: conf,
}
currentUser, err := user.Current()
fmt.Println("Current user: ", currentUser)
fmt.Println("current user id" + currentUser.Uid)
quayProvider := quay.ScenarioProvider{}
scenario, err := quayProvider.GetScenarioDetail("node-cpu-hog", conf.GetQuayRepositoryApiUri())
assert.Nil(t, err)
Expand Down

0 comments on commit e66ad21

Please sign in to comment.