-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Petr Fedchenkov <[email protected]>
- Loading branch information
Showing
6 changed files
with
52 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
eden.vnc.test -panic=true -logger=true | ||
eden.escript.test -test.run TestEdenScripts/vnc_test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{{$test_opts := "-test.v -name vnc-app"}} | ||
|
||
# Starting of reboot detector with a 1 reboot limit | ||
! test eden.reboot.test -test.v -timewait 45m -reboot=0 -count=1 & | ||
|
||
#TestVNCVMStart checks if app processed by EVE, app in RUNNING state | ||
test eden.vnc.test {{$test_opts}} -timewait 15m -test.run TestVNCVMStart | ||
stdout '--- PASS: TestVNCVMStart' | ||
|
||
# TestAccess checks if VNC and SSH of app is accessible | ||
test eden.vnc.test {{$test_opts}} -timewait 10m -test.run TestAccess | ||
stdout '--- PASS: TestAccess' | ||
|
||
# TestAppLogs checks if logs of app is accessible also it initiates panic | ||
test eden.vnc.test {{$test_opts}} -panic=true -logger=true -timewait 10m -test.run TestAppLogs | ||
stdout '--- PASS: TestAppLogs' | ||
|
||
#TestVNCVMDelete initiates deleting of app and checks if app deleted from EVE | ||
test eden.vnc.test {{$test_opts}} -timewait 10m -test.run TestVNCVMDelete | ||
stdout '--- PASS: TestVNCVMDelete' | ||
|
||
# Test's config. file | ||
-- eden-config.yml -- | ||
test: | ||
controller: adam://{{EdenConfig "adam.ip"}}:{{EdenConfig "adam.port"}} | ||
eve: | ||
{{EdenConfig "eve.name"}}: | ||
onboard-cert: {{EdenConfigPath "eve.cert"}} | ||
serial: "{{EdenConfig "eve.serial"}}" | ||
model: {{EdenConfig "eve.devmodel"}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters