@@ -86,11 +86,6 @@ Feature: Test configuration settings
8686 | skip -check -root -user | true | false |
8787 | skip -check -virt -enabled | true | false |
8888
89- # the following properties not suit for user notwork
90- #| skip-check-crc-network | true | false |
91- #| skip-check-crc-network-active | true | false |
92- #| skip-check-network-manager-installed | true | false |
93- #| skip-check-network-manager-running | true | false |
9489
9590 @windows
9691 Examples :
@@ -113,35 +108,6 @@ Feature: Test configuration settings
113108 Then starting CRC with default bundle fails
114109 And stderr should contain "Preflight checks failed during `crc start`, please try to run `crc setup` first in case you haven't done so yet"
115110
116- @linux
117- Scenario : Check network setup and destroy it, then check again
118- When removing file "crc.json" from CRC home folder succeeds
119- And executing single crc setup command succeeds
120- And executing "sudo virsh net-list --name" succeeds
121- Then stdout contains "default"
122-
123- @linux @system_network
124- Scenario : Running `crc setup` with checks enabled restores destroyed network
125- When setting config property "skip-check-crc-network" to value "false" succeeds
126- And setting config property "skip-check-crc-network-active" to value "false" succeeds
127- Then executing single crc setup command succeeds
128- And executing "sudo virsh net-list --name" succeeds
129- And stdout contains "crc"
130-
131- @linux @system_network
132- Scenario : Running `crc start` without `crc setup` and with checks disabled fails when network destroyed
133- # Destroy network again
134- When executing "sudo virsh net-undefine crc && sudo virsh net-destroy crc" succeeds
135- And executing "sudo virsh net-list --name" succeeds
136- Then stdout should not contain "crc"
137- # Disable checks
138- When setting config property "skip-check-crc-network" to value "true" succeeds
139- And setting config property "skip-check-crc-network-active" to value "true" succeeds
140-
141- # Start CRC
142- Then starting CRC with default bundle fails
143- And stderr contains "Network not found: no network with matching name 'crc'"
144-
145111 @linux
146112 Scenario : Clean-up
147113 # Remove the config file
0 commit comments