Skip to content

Commit

Permalink
update eve tag to 13.1.0
Browse files Browse the repository at this point in the history
Signed-off-by: Shahriyar Jalayeri <shahriyar@zededa.com>
  • Loading branch information
shjala committed Sep 4, 2024
1 parent 5c7367e commit b4063e9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pkg/defaults/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const (
DefaultRegistryPort = 5050

//tags, versions, repos
DefaultEVETag = "13.0.0" // DefaultEVETag tag for EVE image
DefaultEVETag = "13.1.0" // DefaultEVETag tag for EVE image
DefaultAdamTag = "0.0.56"
DefaultRedisTag = "7"
DefaultRegistryTag = "2.7"
Expand Down
8 changes: 5 additions & 3 deletions tests/vcom/vcom_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ const (
sshPort = "8027"
appLink = "https://cloud-images.ubuntu.com/releases/22.04/release/ubuntu-22.04-server-cloudimg-amd64.img"
projectName = "vcomlink"
appWait = 60 * 10
sshWait = 60 * 5
)

func getChannel(data []byte) (uint, error) {
Expand Down Expand Up @@ -83,7 +85,7 @@ func TestVcomLinkTpmRequestEK(t *testing.T) {
t.Fatalf("vcomlink is not running, ss output :\n%s", stat)
}

appName := tk.GetRandomAppName(projectName)
appName := tk.GetRandomAppName(projectName + "-")
pubPorts := []string{sshPort + ":22"}
pc := tk.GetDefaultVMConfig(appName, tk.AppDefaultCloudConfig, pubPorts)
err = eveNode.EveDeployApp(appLink, pc, tk.WithSSH(tk.AppDefaultSSHUser, tk.AppDefaultSSHPass, sshPort))
Expand All @@ -102,13 +104,13 @@ func TestVcomLinkTpmRequestEK(t *testing.T) {

// wait 5 minutes for the app to start
t.Logf("Waiting for app %s to start...", appName)
err = eveNode.AppWaitForRunningState(appName, 60*5)
err = eveNode.AppWaitForRunningState(appName, appWait)
if err != nil {
t.Fatalf("Failed to wait for app to start: %v", err)
}

t.Logf("Waiting for ssh to be ready...")
err = eveNode.AppWaitForSSH(appName, 60*5)
err = eveNode.AppWaitForSSH(appName, sshWait)
if err != nil {
t.Fatalf("Failed to wait for ssh: %v", err)
}
Expand Down

0 comments on commit b4063e9

Please sign in to comment.