Skip to content

Commit

Permalink
das-toolbox-119: Update faas test
Browse files Browse the repository at this point in the history
  • Loading branch information
levisingularity committed Oct 4, 2024
1 parent 916f775 commit 72ae466
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/integration/test_faas.bats
Original file line number Diff line number Diff line change
Expand Up @@ -289,11 +289,12 @@ Function version successfully updated $old_function $old_version --> $new_functi
@test "Update FaaS to the latest available version" {
local old_version="$(get_config .openfaas.version)"
local function="$(get_config .openfaas.function)"
local latest_version="$(get_latest_image_tag $openfaas_repository)"

run das-cli faas update-version

assert_output "Downloading the $function function, version latest...
Function version successfully updated $function $old_version --> $function latest. You need to call 'faas restart' to start using the new version."
Function version successfully updated $function $old_version --> $function $latest_version. You need to call 'faas restart' to start using the new version."

local image_version_digest="$(get_disgest_local_image "$openfaas_repository:query-engine-latest")"

Expand Down

0 comments on commit 72ae466

Please sign in to comment.