Skip to content

Commit 6ef7671

Browse files
authored
fix: Sample rowkey generic header conformance test (#1550)
Grab app profiled id from client to fix conformance test
1 parent f6176c1 commit 6ef7671

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

testproxy/known_failures.txt

-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,5 @@ TestReadRows_Retry_WithRetryInfo_MultipleErrorResponse\|
1818
TestCheckAndMutateRow_NoRetry_TransientError\|
1919
TestCheckAndMutateRow_Generic_DeadlineExceeded\|
2020
TestCheckAndMutateRow_Generic_Headers\|
21-
TestSampleRowKeys_Generic_Headers\|
2221
TestSampleRowKeys_Generic_DeadlineExceeded\|
2322
TestSampleRowKeys_Retry_WithRoutingCookie

testproxy/services/sample-row-keys.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@ const sampleRowKeys = ({clientMap}) =>
2323
normalizeCallback(async rawRequest => {
2424
const {request} = rawRequest;
2525
const {request: sampleRowKeysRequest} = request;
26-
const {appProfileId, tableName} = sampleRowKeysRequest;
27-
26+
const {tableName} = sampleRowKeysRequest;
2827
const {clientId} = request;
28+
29+
const appProfileId = clientMap.get(clientId).appProfileId;
2930
const client = clientMap.get(clientId)[v2];
3031
const samples = await new Promise((res, rej) => {
3132
const response = [];

0 commit comments

Comments
 (0)