File tree 1 file changed +4
-9
lines changed
1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -136,15 +136,10 @@ func TestCancellationQueryInProgress(t *testing.T) {
136
136
td .assertRequestCleared ()
137
137
138
138
tracing := td .collectTracing (t )
139
- require .ElementsMatch (t , []string {
140
- "processRequests(0)" ,
141
- "response(0)->executeTask(0)->processBlock(0)->loadBlock(0)" ,
142
- "response(0)->executeTask(0)->processBlock(0)->sendBlock(0)->processBlockHooks(0)" ,
143
- "response(0)->executeTask(0)->processBlock(1)->loadBlock(0)" ,
144
- "response(0)->executeTask(0)->processBlock(1)->sendBlock(0)" ,
145
- "response(0)->abortRequest(0)" ,
146
- "processRequests(1)" ,
147
- }, tracing .TracesToStrings ())
139
+ traceStrings := tracing .TracesToStrings ()
140
+ require .Contains (t , traceStrings , "processRequests(0)" )
141
+ require .Contains (t , traceStrings , "response(0)->abortRequest(0)" )
142
+ require .Contains (t , traceStrings , "processRequests(1)" )
148
143
message0Span := tracing .FindSpanByTraceString ("processRequests(0)" )
149
144
message1Span := tracing .FindSpanByTraceString ("processRequests(1)" )
150
145
responseSpan := tracing .FindSpanByTraceString ("response(0)" )
You can’t perform that action at this time.
0 commit comments