mirror of https://github.com/databricks/cli.git
consolidate test configuration
This commit is contained in:
parent
db4fc698ea
commit
f249a1ac3b
|
@ -1,4 +1,6 @@
|
||||||
IncludeRequestHeaders = ["Authorization"]
|
IncludeRequestHeaders = ["Authorization"]
|
||||||
|
RecordRequests = true
|
||||||
|
|
||||||
Local = true
|
Local = true
|
||||||
Cloud = false
|
Cloud = false
|
||||||
|
|
||||||
|
@ -13,3 +15,12 @@ New = '[OS]'
|
||||||
[[Repls]]
|
[[Repls]]
|
||||||
Old = 'execution_time_ms\\\":\d{1,5},'
|
Old = 'execution_time_ms\\\":\d{1,5},'
|
||||||
New = 'execution_time_ms\":\"SMALL_INT\",'
|
New = 'execution_time_ms\":\"SMALL_INT\",'
|
||||||
|
|
||||||
|
[[Server]]
|
||||||
|
Pattern = "POST /telemetry-ext"
|
||||||
|
Response.Body = '''
|
||||||
|
{
|
||||||
|
"errors": [],
|
||||||
|
"numProtoSuccess": 2
|
||||||
|
}
|
||||||
|
'''
|
||||||
|
|
|
@ -1,10 +0,0 @@
|
||||||
RecordRequests = true
|
|
||||||
|
|
||||||
[[Server]]
|
|
||||||
Pattern = "POST /telemetry-ext"
|
|
||||||
Response.Body = '''
|
|
||||||
{
|
|
||||||
"errors": [],
|
|
||||||
"numProtoSuccess": 2
|
|
||||||
}
|
|
||||||
'''
|
|
|
@ -1 +1 @@
|
||||||
error: upload did not succeed after three attempts. err: &retries.Err{Err:(*apierr.APIError)(0x140003a20a0), Halt:true}. response body: (*telemetry.ResponseBody)(nil)
|
error: upload did not succeed after three attempts. err: &retries.Err{Err:(*apierr.APIError)(0x14000361540), Halt:true}. response body: (*telemetry.ResponseBody)(nil)
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
RecordRequests = true
|
|
||||||
|
|
||||||
[[Server]]
|
[[Server]]
|
||||||
Pattern = "POST /telemetry-ext"
|
Pattern = "POST /telemetry-ext"
|
||||||
Response.Body = '''
|
Response.Body = '''
|
||||||
|
@ -9,3 +7,5 @@ Response.Body = '''
|
||||||
}
|
}
|
||||||
'''
|
'''
|
||||||
Response.StatusCode = 501
|
Response.StatusCode = 501
|
||||||
|
|
||||||
|
# TODO: Validate that this and the other tests have sane outputs.
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
RecordRequests = true
|
|
||||||
|
|
||||||
[[Server]]
|
[[Server]]
|
||||||
Pattern = "POST /telemetry-ext"
|
Pattern = "POST /telemetry-ext"
|
||||||
Response.Body = '''
|
Response.Body = '''
|
||||||
|
|
|
@ -1,10 +0,0 @@
|
||||||
RecordRequests = true
|
|
||||||
|
|
||||||
[[Server]]
|
|
||||||
Pattern = "POST /telemetry-ext"
|
|
||||||
Response.Body = '''
|
|
||||||
{
|
|
||||||
"errors": [],
|
|
||||||
"numProtoSuccess": 2
|
|
||||||
}
|
|
||||||
'''
|
|
|
@ -4,11 +4,4 @@
|
||||||
Local = true
|
Local = true
|
||||||
Cloud = true
|
Cloud = true
|
||||||
|
|
||||||
[[Server]]
|
RecordRequests = false
|
||||||
Pattern = "POST /telemetry-ext"
|
|
||||||
Response.Body = '''
|
|
||||||
{
|
|
||||||
"errors": [],
|
|
||||||
"numProtoSuccess": 2
|
|
||||||
}
|
|
||||||
'''
|
|
||||||
|
|
|
@ -1,15 +1,3 @@
|
||||||
RecordRequests = true
|
|
||||||
|
|
||||||
[[Server]]
|
|
||||||
Pattern = "POST /telemetry-ext"
|
|
||||||
Response.Body = '''
|
|
||||||
{
|
|
||||||
"errors": [],
|
|
||||||
"numProtoSuccess": 2
|
|
||||||
}
|
|
||||||
'''
|
|
||||||
|
|
||||||
|
|
||||||
# "client_id:client_secret" in base64 is Y2xpZW50X2lkOmNsaWVudF9zZWNyZXQ=, expect to
|
# "client_id:client_secret" in base64 is Y2xpZW50X2lkOmNsaWVudF9zZWNyZXQ=, expect to
|
||||||
# see this in Authorization header
|
# see this in Authorization header
|
||||||
[[Repls]]
|
[[Repls]]
|
||||||
|
|
|
@ -1,10 +0,0 @@
|
||||||
RecordRequests = true
|
|
||||||
|
|
||||||
[[Server]]
|
|
||||||
Pattern = "POST /telemetry-ext"
|
|
||||||
Response.Body = '''
|
|
||||||
{
|
|
||||||
"errors": [],
|
|
||||||
"numProtoSuccess": 2
|
|
||||||
}
|
|
||||||
'''
|
|
Loading…
Reference in New Issue