Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test for osProfile.linuxConfiguration.provisionVMAgent #2826

Merged
merged 6 commits into from
May 26, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add files
  • Loading branch information
narrieta committed May 24, 2023
commit c85f1a097f204af55fcea0fa19a768f6d9cea590
2 changes: 1 addition & 1 deletion tests_e2e/orchestrator/runbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ variable:
#
# The test suites to execute
- name: test_suites
value: "agent_bvt, no_outbound_connections, extensions_disabled"
value: "agent_bvt, no_outbound_connections, extensions_disabled, agent_not_provisioned"
- name: cloud
value: "AzureCloud"
is_case_visible: true
Expand Down
2 changes: 1 addition & 1 deletion tests_e2e/pipeline/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ parameters:
- name: test_suites
displayName: Test Suites
type: string
default: agent_bvt, no_outbound_connections, extensions_disabled
default: agent_bvt, no_outbound_connections, extensions_disabled, agent_not_provisioned

# NOTES:
# * 'image', 'location' and 'vm_size' override any values in the test suites/images definition
Expand Down
2 changes: 1 addition & 1 deletion tests_e2e/test_suites/agent_not_provisioned.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Disables Agent provisioning using osProfile.provisionVMAgent and verifies that the agent is disabled
# Disables Agent provisioning using osProfile.linuxConfiguration.provisionVMAgent and verifies that the agent is disabled
# and extension operations are not allowed.
#
name: "AgentNotProvisioned"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@

class AgentNotProvisioned(AgentTest):
"""
When osProfile.provisionVMAgent is set to 'false', this test verifies that the agent is disabled
and that extension operations are not allowed.
When osProfile.linuxConfiguration.provisionVMAgent is set to 'false', this test verifies that
the agent is disabled and that extension operations are not allowed.
"""
def run(self):
#
Expand Down