• Ferran Rodenas's avatar
    Fake tillerHost at version cmd tests · cc0f4600
    Ferran Rodenas authored
    Version cmd tries to set up a tunnel at RunE instead of using the
    PersistentPreRunE. That means that for each version test (3) it
    tries to set up the tunnel. When running the tests on an internetless
    or whithout a valid k8s environment, the tunnel will fail with a
    timeout of 20 seconds, meaning that it will take 60 seconds to
    run the test.
    
    This commit adds a fake tillerHost so it will not try to setup the
    tunnel.
    cc0f4600
version_test.go 1.53 KB