mirror of https://github.com/databricks/cli.git
This commit is contained in:
parent
15c09c61d5
commit
6ed7f223b5
|
@ -109,7 +109,7 @@ func testAccept(t *testing.T, InprocessMode bool, singleTest string) int {
|
||||||
cloudEnv := os.Getenv("CLOUD_ENV")
|
cloudEnv := os.Getenv("CLOUD_ENV")
|
||||||
|
|
||||||
if cloudEnv == "" {
|
if cloudEnv == "" {
|
||||||
defaultServer := StartServer(t)
|
defaultServer := testserver.New(t)
|
||||||
AddHandlers(defaultServer)
|
AddHandlers(defaultServer)
|
||||||
// Redirect API access to local server:
|
// Redirect API access to local server:
|
||||||
t.Setenv("DATABRICKS_HOST", defaultServer.URL)
|
t.Setenv("DATABRICKS_HOST", defaultServer.URL)
|
||||||
|
|
Loading…
Reference in New Issue