Skip to content
This repository was archived by the owner on Mar 4, 2026. It is now read-only.

Commit 251ab4f

Browse files
committed
unskip tests for afe connectivity
1 parent 7e9fcaa commit 251ab4f

4 files changed

Lines changed: 4 additions & 5 deletions

File tree

samples/batch.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
// limitations under the License.
1414

1515
'use strict';
16+
//test
1617

1718
async function createAndExecuteQueryPartitions(
1819
instanceId,

src/metrics/interceptor.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,7 @@ export const MetricInterceptor = (options, nextCall) => {
7575
if (metricsTracer?.afeLatency) {
7676
metricsTracer?.recordAfeLatency(status.code);
7777
} else {
78-
// Disable afe_connectivity_error_count metric as AFE header is disabled in backend
79-
// currently.
80-
// metricsTracer?.recordAfeConnectivityErrorCount(status.code);
78+
metricsTracer?.recordAfeConnectivityErrorCount(status.code);
8179
}
8280
},
8381
};

test/codec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1862,7 +1862,7 @@ describe('codec', () => {
18621862
assert.deepStrictEqual(codec.getType(new Date()), {type: 'timestamp'});
18631863
});
18641864

1865-
it.skip('should determine if the value is a interval', () => {
1865+
it('should determine if the value is a interval', () => {
18661866
assert.deepStrictEqual(
18671867
codec.getType(new codec.Interval(1, 2, BigInt(3))),
18681868
{

test/metrics/interceptor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ describe('MetricInterceptor', () => {
197197
);
198198
});
199199

200-
it.skip('AFE Metrics - Connectivity Error Count', () => {
200+
it('AFE Metrics - Connectivity Error Count', () => {
201201
const interceptingCall = MetricInterceptor(mockOptions, mockNextCall);
202202
interceptingCall.start(testMetadata, mockListener);
203203

0 commit comments

Comments
 (0)