Skip to content

Commit 17a1020

Browse files
committed
Fix merge conflicts
1 parent 4c5f052 commit 17a1020

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

testing/integration/ess/otel_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -522,9 +522,8 @@ func TestOtelLogsIngestion(t *testing.T) {
522522
// Prepare the OTel config.
523523
testId := info.Namespace
524524

525-
// Ensure everything is saved in case of test failure
526-
// this folder is also collected on CI.
527-
tempDir := aTesting.TempDir(t, "..", "..", "..", "build")
525+
// TODO(Tiago): use TempDir from https://github.com/elastic/elastic-agent-libs/pull/369 once it's merged
526+
tempDir := t.TempDir()
528527
inputFilePath := filepath.Join(tempDir, "input.log")
529528
otelLogFilePath := filepath.Join(tempDir, "elastic-agent.ndjson")
530529

0 commit comments

Comments
 (0)