Merge pull request #11616 from spowelljr/improveWindowsSetup
Delete `minikube-integration` folder in case last test failed to delete itpull/11629/head
commit
5331cbeb8f
|
|
@ -12,9 +12,10 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
$test_root="$env:HOMEDRIVE$env:HOMEPATH\minikube-integration"
|
||||
$test_home="$test_root\$env:COMMIT"
|
||||
$test_home="$env:HOMEDRIVE$env:HOMEPATH\minikube-integration"
|
||||
$env:KUBECONFIG="$test_home\kubeconfig"
|
||||
$env:MINIKUBE_HOME="$test_home\.minikube"
|
||||
|
||||
# delete in case previous test was unexpectedly ended and teardown wasn't run
|
||||
rm -r -Force $test_home
|
||||
mkdir -p $test_home
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
$test_root="$env:HOMEDRIVE$env:HOMEPATH\minikube-integration"
|
||||
$test_home="$test_root\$env:COMMIT"
|
||||
$test_home="$env:HOMEDRIVE$env:HOMEPATH\minikube-integration"
|
||||
|
||||
rm -r $test_home
|
||||
rm -r -Force $test_home
|
||||
|
|
|
|||
Loading…
Reference in New Issue