Skip to content

Commit

Permalink
SP-4984 Add performance test13
Browse files Browse the repository at this point in the history
Signed-off-by: Maarit Härkönen <maarit.harkonen@unikie.com>
  • Loading branch information
maaharko committed Sep 12, 2024
1 parent 7529b6c commit 7802ba0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ Get Boot times
${current_timestamp} Execute Command ${cmd1}
${up_time_since_nixos_menu} Execute Command ${cmd2} # uptime
${nixos_menu_timestamp} Subtract Time From Time ${current_timestamp} ${up_time_since_nixos_menu}
${time_from_nixos_menu_to_desktop_available} Run Keyword And Continue On Failure Wait Until Keyword Succeeds 120s 1s Check Log For Notification ${cmd3} ${nixos_menu_timestamp}

Connect to netvm
Connect to VM ${GUI_VM}
${time_from_nixos_menu_to_waybar_available} Run Keyword And Continue On Failure Wait Until Keyword Succeeds 60s 1s Check Log For Notification ${cmd4} ${nixos_menu_timestamp}
${time_from_nixos_menu_to_desktop_available} Run Keyword And Continue On Failure Wait Until Keyword Succeeds 120s 1s Check Log For Notification ${cmd3} ${nixos_menu_timestamp}
${time_from_ping_to_desktop_available} Subtract Time From Time ${time_from_nixos_menu_to_desktop_available} ${current_timestamp}

# ${time_when_desktop_available} Execute Command ${cmd3} # Welcome note
Expand Down Expand Up @@ -101,7 +101,7 @@ Check Log For Notification
[Documentation] Check that correct notification is available in journalctl
[Arguments] ${command} ${current_time}
${cmd5} Catenate SEPARATOR=\n
... journalctl --output=short-iso | grep "Welcome" | tail -10
... journalctl --output=short-iso | grep "Welcome"
${output} Execute Command ${cmd5}
Log ${output}
${notification} Execute Command ${command}
Expand Down

0 comments on commit 7802ba0

Please sign in to comment.