File tree Expand file tree Collapse file tree 3 files changed +1
-7
lines changed
hadoop-tools/hadoop-azure/src
main/java/org/apache/hadoop/fs/azurebfs/utils
test/java/org/apache/hadoop/fs/azurebfs/utils Expand file tree Collapse file tree 3 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -79,9 +79,6 @@ public void constructHeader(AbfsHttpOperation httpOperation){
79
79
header = "" ;
80
80
break ;
81
81
}
82
- if (listener != null ) { //for testing
83
- listener .callTracingHeaderValidator (header , tracingHeaderFormat );
84
- }
85
82
httpOperation .setRequestProperty (HttpHeaderConfigurations .X_MS_CLIENT_REQUEST_ID , header );
86
83
}
87
84
}
Original file line number Diff line number Diff line change @@ -56,4 +56,4 @@ public static <T> T setClassField(
56
56
private TestMockHelpers () {
57
57
// Not called. - For checkstyle: HideUtilityClassConstructor
58
58
}
59
- }
59
+ }
Original file line number Diff line number Diff line change @@ -97,9 +97,6 @@ private void validateBasicFormat(String[] idList) {
97
97
} else if (format == TracingHeaderFormat .TWO_ID_FORMAT ) {
98
98
Assertions .assertThat (idList )
99
99
.describedAs ("header should have 2 elements" ).hasSize (2 );
100
- } else if (format == TracingHeaderFormat .INTERNAL_METRIC_FORMAT ) {
101
- Assertions .assertThat (idList )
102
- .describedAs ("header should have 4 elements" ).hasSize (4 );
103
100
} else {
104
101
Assertions .assertThat (idList ).describedAs ("header should have 1 element" )
105
102
.hasSize (1 );
You can’t perform that action at this time.
0 commit comments