@@ -35,7 +35,7 @@ func TestFileTracesExporter(t *testing.T) {
3535 fe := & fileExporter {file : mf }
3636 require .NotNil (t , fe )
3737
38- td := testdata .GenerateTraceDataTwoSpansSameResource ()
38+ td := testdata .GenerateTracesTwoSpansSameResource ()
3939 assert .NoError (t , fe .Start (context .Background (), componenttest .NewNopHost ()))
4040 assert .NoError (t , fe .ConsumeTraces (context .Background (), td ))
4141 assert .NoError (t , fe .Shutdown (context .Background ()))
@@ -53,7 +53,7 @@ func TestFileTracesExporterError(t *testing.T) {
5353 fe := & fileExporter {file : mf }
5454 require .NotNil (t , fe )
5555
56- td := testdata .GenerateTraceDataTwoSpansSameResource ()
56+ td := testdata .GenerateTracesTwoSpansSameResource ()
5757 assert .NoError (t , fe .Start (context .Background (), componenttest .NewNopHost ()))
5858 assert .Error (t , fe .ConsumeTraces (context .Background (), td ))
5959 assert .NoError (t , fe .Shutdown (context .Background ()))
@@ -93,7 +93,7 @@ func TestFileLogsExporter(t *testing.T) {
9393 fe := & fileExporter {file : mf }
9494 require .NotNil (t , fe )
9595
96- otlp := testdata .GenerateLogDataTwoLogsSameResource ()
96+ otlp := testdata .GenerateLogsTwoLogRecordsSameResource ()
9797 assert .NoError (t , fe .Start (context .Background (), componenttest .NewNopHost ()))
9898 assert .NoError (t , fe .ConsumeLogs (context .Background (), otlp ))
9999 assert .NoError (t , fe .Shutdown (context .Background ()))
@@ -111,7 +111,7 @@ func TestFileLogsExporterErrors(t *testing.T) {
111111 fe := & fileExporter {file : mf }
112112 require .NotNil (t , fe )
113113
114- otlp := testdata .GenerateLogDataTwoLogsSameResource ()
114+ otlp := testdata .GenerateLogsTwoLogRecordsSameResource ()
115115 assert .NoError (t , fe .Start (context .Background (), componenttest .NewNopHost ()))
116116 assert .Error (t , fe .ConsumeLogs (context .Background (), otlp ))
117117 assert .NoError (t , fe .Shutdown (context .Background ()))
0 commit comments