Commit Graph

15 Commits (71ab89dfc226379a32f1aa3414ffcb810652aa9a)

Author SHA1 Message Date
Thomas Strömberg 2621bb3a27
Merge pull request #3187 from tstromberg/consistent_err_formatting
Globally replace %s format directives with %v for error strings
2018-10-19 16:44:46 -07:00
Thomas Stromberg 055c8002b1 Replace %s format directives with %v for errors.
Previously we were mixed between the two forms. This commit picks %v,
which is consistent with the Kubernetes code base. They both effectively
do the same thing in this case, though %v works with any object, and %s
only with string objects.
2018-09-28 16:05:27 -07:00
Thomas Stromberg 349ea5a06a Fix broken TestFunctional/EnvVars test when run under non-bash shell.
Make future failures to this test easier to debug. Here's an example of
the test failure I ran into:

    --- FAIL: TestFunctional/EnvVars (0.58s)
        cluster_env_test.go:36: SetEnvFromEnvCmdOutput: Error: No variables were parsed from docker-env output:
            set -gx DOCKER_TLS_VERIFY "1";
            set -gx DOCKER_HOST "tcp://192.168.39.199:2376";
            set -gx DOCKER_CERT_PATH "/usr/local/google/home/tstromberg/.minikube/certs";
            set -gx DOCKER_API_VERSION "1.35";
            # Run this command to configure your shell:
            # eval (minikube docker-env)
2018-09-26 17:53:42 -07:00
Matt Rickard f966c8cf31 Add NewMinikubeRunner, separate start args
* Separate start args from args passed to every command.  This is so
that we can call `minikube logs` and `minikube status` with the proper
flags (for the bootstrapper)

* Add a NewMinikubeRunner function to make getting a minikube runner
easier.
2017-09-08 20:14:21 -07:00
dlorenc 0b5bd79d50 Refactor of retries in integration tests. 2017-08-23 10:19:11 -07:00
Aaron Prindle f4a8ece0ae Additional none driver changes 2017-05-26 13:33:26 -07:00
Aaron Prindle 88613090a9 Added none driver 2017-05-19 14:51:19 -07:00
Dan Lorenc 35acd21cb1 Move some integration tests to the subtest framework, and run them in parallel. 2016-12-05 18:36:03 -08:00
Matt Rickard 4cfca59c5c Add RetryableError for the Retry util
This way we can selectively retry the errors that are caused by some
temporary or ephemeral condition such as the pods not being up yet.
2016-10-13 13:53:38 -07:00
Dan Lorenc 0334d223d1 Fix up the docker-env integration test. 2016-07-09 11:05:14 -07:00
dlorenc 37ea2f0eea Add a "--minikube-args" flag to the integration tests.
This flag lets you pass arbitrary flags to minikube start. For now,
this is useful for testing different iso URLs and VM drivers.
2016-06-30 14:11:37 -07:00
dlorenc 89c5d10b11 Switch more tests to EnsureRunning. 2016-06-06 11:41:27 -07:00
dlorenc 19e18b0237 Add a retry to the cluster_env test. 2016-06-06 11:40:13 -07:00
dlorenc f5d55d2ef5 Fix logging for cluster_env_test. 2016-06-01 17:21:05 -07:00
aprindle 5b67cb5c14 Added env command integration test 2016-05-31 16:48:27 -07:00