Skip to content
This repository was archived by the owner on Jul 13, 2023. It is now read-only.

Commit a6e9f4a

Browse files
yoshi-automationBenjamin E. Coe
authored andcommitted
fix: do not retry request on DEADLINE_EXCEEDED
1 parent 35fc6c6 commit a6e9f4a

File tree

6 files changed

+31
-20
lines changed

6 files changed

+31
-20
lines changed

.kokoro/lint.sh

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,11 @@ cd $(dirname $0)/..
2323
npm install
2424

2525
# Install and link samples
26-
cd samples/
27-
npm link ../
28-
npm install
29-
cd ..
26+
if [ -f samples/package.json ]; then
27+
cd samples/
28+
npm link ../
29+
npm install
30+
cd ..
31+
fi
3032

3133
npm run lint

.kokoro/samples-test.sh

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,14 @@ if [ -f .kokoro/pre-samples-test.sh ]; then
3131
set -x
3232
fi
3333

34-
npm install
34+
if [ -f samples/package.json ]; then
35+
npm install
3536

36-
# Install and link samples
37-
cd samples/
38-
npm link ../
39-
npm install
40-
cd ..
37+
# Install and link samples
38+
cd samples/
39+
npm link ../
40+
npm install
41+
cd ..
4142

42-
npm run samples-test
43+
npm run samples-test
44+
fi

.kokoro/test.sh

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,14 @@ cd $(dirname $0)/..
2222

2323
npm install
2424
npm test
25-
./node_modules/nyc/bin/nyc.js report
2625

27-
bash $KOKORO_GFILE_DIR/codecov.sh
26+
COVERAGE_NODE=10
27+
if npx [email protected] --silent --node $COVERAGE_NODE; then
28+
NYC_BIN=./node_modules/nyc/bin/nyc.js
29+
if [ -f "$NYC_BIN" ]; then
30+
$NYC_BIN report
31+
fi
32+
bash $KOKORO_GFILE_DIR/codecov.sh
33+
else
34+
echo "coverage is only reported for Node $COVERAGE_NODE"
35+
fi

__pycache__/synth.cpython-36.pyc

0 Bytes
Binary file not shown.

src/v1beta1/recaptcha_enterprise_service_v1_beta1_client_config.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1": {
44
"retry_codes": {
55
"idempotent": [
6-
"DEADLINE_EXCEEDED",
76
"UNAVAILABLE"
87
],
98
"non_idempotent": []

synth.metadata

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
{
2-
"updateTime": "2019-05-02T11:17:02.972911Z",
2+
"updateTime": "2019-05-08T12:04:49.887264Z",
33
"sources": [
44
{
55
"generator": {
66
"name": "artman",
7-
"version": "0.17.1",
8-
"dockerImage": "googleapis/artman@sha256:a40ca4dd4ef031c0ded4df4909ffdf7b3f20d29b23e682ef991eb60ba0ca6025"
7+
"version": "0.19.0",
8+
"dockerImage": "googleapis/artman@sha256:d3df563538225ac6caac45d8ad86499500211d1bcb2536955a6dbda15e1b368e"
99
}
1010
},
1111
{
1212
"git": {
1313
"name": "googleapis",
1414
"remote": "https://github.com/googleapis/googleapis.git",
15-
"sha": "dd42335a9a8613072bef9cbda2725e84631d7043",
16-
"internalRef": "246232940"
15+
"sha": "51145ff7812d2bb44c1219d0b76dac92a8bd94b2",
16+
"internalRef": "247143125"
1717
}
1818
},
1919
{
2020
"template": {
2121
"name": "node_library",
2222
"origin": "synthtool.gcp",
23-
"version": "2019.4.10"
23+
"version": "2019.5.2"
2424
}
2525
}
2626
],

0 commit comments

Comments
 (0)