(default_cluster)
| 236 | |
| 237 | |
| 238 | def test_plugin_remove(default_cluster): |
| 239 | _install_test_plugin() |
| 240 | |
| 241 | for _ in range(3): |
| 242 | code, out, err = exec_cmd(['dcos', 'plugin', 'remove', 'dcos-test']) |
| 243 | if sys.platform == 'win32' and code != 0: |
| 244 | # We've experienced flakiness with "Access is denied" errors on |
| 245 | # our Jenkins Windows nodes. Just retry if it happens, in the future |
| 246 | # we should reassess that it's still an issue and address it. |
| 247 | time.sleep(3) |
| 248 | continue |
| 249 | break |
| 250 | |
| 251 | assert err == '' |
| 252 | assert out == '' |
| 253 | assert code == 0 |
| 254 | |
| 255 | |
| 256 | def test_plugin_help_usage(default_cluster): |
nothing calls this directly
no test coverage detected