Skip to content

Commit

Permalink
skip response_headers test for server pedant test as the chef-server-…
Browse files Browse the repository at this point in the history
…running.json is not present in the automate environment

Signed-off-by: Vinay Satish <vinay.satish@progress.com>
  • Loading branch information
vinay-satish committed Nov 23, 2021
1 parent 5c9a9b0 commit de2f5a1
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion integration/tests/a1migration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ do_test_deploy() {
chef_server_migration_smoke_tests
## skipping status test because of the missing file in automate - /etc/opscode/chef-server-running.json
## adding smoke tag or else all the test will be considered skipping only the status test
PATH="/hab/bin:/bin" chef-server-ctl test --smoke --skip-status
PATH="/hab/bin:/bin" chef-server-ctl test --smoke --skip-status --skip=response_headers

workflow_server_migration_smoke_tests
}
Expand Down
2 changes: 1 addition & 1 deletion integration/tests/chef_server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ do_test_deploy() {
umask 022
## skipping status test because of the missing file in automate - /etc/opscode/chef-server-running.json
## adding smoke tag or else all the test will be considered skipping only the status test
PATH="/hab/bin:/bin" chef-server-ctl test --smoke --skip-status
PATH="/hab/bin:/bin" chef-server-ctl test --smoke --skip-status --skip=response_headers
test_chef_server_ctl
test_knife
test_cookbook_caching
Expand Down
2 changes: 1 addition & 1 deletion integration/tests/chef_server_backup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ do_deploy() {
do_test_deploy() {
## skipping status test because of the missing file in automate - /etc/opscode/chef-server-running.json
## adding smoke tag or else all the test will be considered skipping only the status test
PATH="/hab/bin:/bin" chef-server-ctl test --smoke --skip-status
PATH="/hab/bin:/bin" chef-server-ctl test --smoke --skip-status --skip=response_headers
test_chef_server_ctl
do_test_deploy_default
}
Expand Down
2 changes: 1 addition & 1 deletion integration/tests/chef_server_only.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ do_deploy() {
do_test_deploy() {
## skipping status test because of the missing file in automate - /etc/opscode/chef-server-running.json
## adding smoke tag or else all the test will be considered skipping only the status test
PATH="/hab/bin:/bin" chef-server-ctl test --smoke --skip-status
PATH="/hab/bin:/bin" chef-server-ctl test --smoke --skip-status --skip=response_headers
test_chef_server_ctl
}
4 changes: 2 additions & 2 deletions integration/tests/chef_server_upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ do_deploy() {
do_test_deploy() {
## skipping status test because of the missing file in automate - /etc/opscode/chef-server-running.json
## adding smoke tag or else all the test will be considered skipping only the status test
PATH="/hab/bin:/bin" chef-server-ctl test --smoke --skip-status
PATH="/hab/bin:/bin" chef-server-ctl test --smoke --skip-status --skip=response_headers
test_chef_server_ctl
test_knife
do_test_deploy_default
Expand All @@ -33,7 +33,7 @@ do_test_deploy() {
do_test_upgrade() {
## skipping status test because of the missing file in automate - /etc/opscode/chef-server-running.json
## adding smoke tag or else all the test will be considered skipping only the status test
PATH="/hab/bin:/bin" chef-server-ctl test --smoke --skip-status
PATH="/hab/bin:/bin" chef-server-ctl test --smoke --skip-status --skip=response_headers
test_chef_server_ctl
test_knife
do_test_upgrade_default
Expand Down
2 changes: 1 addition & 1 deletion integration/tests/ha_chef_server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ EOH
do_test_deploy() {
## skipping status test because of the missing file in automate - /etc/opscode/chef-server-running.json
## adding smoke tag or else all the test will be considered skipping only the status test
hab pkg exec chef/automate-cs-nginx chef-server-ctl test --smoke --skip-status
hab pkg exec chef/automate-cs-nginx chef-server-ctl test --smoke --skip-status --skip=response_headers
}

do_cleanup() {
Expand Down

0 comments on commit de2f5a1

Please sign in to comment.