Add integration to report flaky tests to datadog

This commit is contained in:
David Dworken
2023-10-21 16:28:28 -07:00
parent 1d29bb25e9
commit 595ddec235
6 changed files with 119 additions and 25 deletions

View File

@ -16,7 +16,6 @@ import (
"syscall"
"testing"
"github.com/DataDog/datadog-go/statsd"
"github.com/ddworken/hishtory/client/data"
"github.com/ddworken/hishtory/client/hctx"
"github.com/ddworken/hishtory/client/lib"
@ -25,8 +24,6 @@ import (
"github.com/stretchr/testify/require"
)
var GLOBAL_STATSD *statsd.Client
type shellTester interface {
RunInteractiveShell(t testing.TB, script string) string
RunInteractiveShellRelaxed(t testing.TB, script string) (string, error)