-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
73 additions
and
40 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
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# frozen_string_literal: true | ||
require 'integration_test_helper' | ||
|
||
class SerialDeployTest < Krane::IntegrationTest | ||
include StatsDHelper | ||
def test_global_deploy_task_success | ||
assert_deploy_success(deploy_global_fixtures('globals')) | ||
|
||
assert_logs_match_all([ | ||
"Phase 1: Initializing deploy", | ||
"Using resource selector test=", | ||
"All required parameters and files are present", | ||
"Discovering resources:", | ||
" - StorageClass/testing-storage-class", | ||
"Phase 2: Checking initial resource statuses", | ||
%r{StorageClass\/testing-storage-class[\w-]+\s+Not Found}, | ||
"Phase 3: Deploying all resources", | ||
%r{Deploying StorageClass\/testing-storage-class[\w-]+ \(timeout: 300s\)}, | ||
"Don't know how to monitor resources of type StorageClass.", | ||
%r{Assuming StorageClass\/testing-storage-class[\w-]+ deployed successfully.}, | ||
%r{Successfully deployed in 0.[\d]+s: StorageClass\/testing-storage-class}, | ||
"Result: SUCCESS", | ||
"Successfully deployed 1 resource", | ||
"Successful resources", | ||
"StorageClass/testing-storage-class", | ||
]) | ||
end | ||
end |
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