mirror of https://github.com/databricks/cli.git
This commit is contained in:
parent
d14f4762e1
commit
a9c53acdff
|
@ -69,7 +69,8 @@ func TestTelemetryLoggerFlushesEvents(t *testing.T) {
|
|||
// Flush the events.
|
||||
Flush(ctx, mockClient)
|
||||
|
||||
// Assert that the protoLogs are empty after flushing.
|
||||
// Assert that the .Do method is called twice, because all logs were not
|
||||
// successfully logged in the first call.
|
||||
assert.Equal(t, 2, mockClient.numCalls)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue