Skip to content
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.

Commit

Permalink
test: Update local-install e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AntiD2ta committed Sep 27, 2023
1 parent 955bbd2 commit a2fccf9
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions e2e/local_install_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -438,9 +438,12 @@ func TestLocalInstall_ProfileWithHiddenOptionsNotSet(t *testing.T) {
},
// Assert
func(t *testing.T) {
assert.Error(t, runErr, "local-install command should fail")
checkInstanceNotInstalled(t, "mock-avs-default")
checkContainerNotExisting(t, "option-returner")
assert.NoError(t, runErr, "local-install command should succeed")
checkInstanceInstalled(t, "mock-avs-default")
checkContainerRunning(t, "option-returner")
optionReturnerIP, err := getContainerIPByName("option-returner", "eigenlayer")
require.NoError(t, err, "failed to get option-returner container IP")
checkAVSHealth(t, optionReturnerIP, "8080", 200)
},
)
// Run test case
Expand Down Expand Up @@ -474,7 +477,7 @@ func TestLocalInstall_OptionsWithoutDefault(t *testing.T) {
t,
// Arrange
func(t *testing.T, egnPath string) error {
if err := buildMockAvsImages(t); err != nil {
if err := buildMockAvsImagesLatest(t); err != nil {
return err
}
err := os.MkdirAll(pkgDir, 0o755)
Expand Down

0 comments on commit a2fccf9

Please sign in to comment.