Skip to content

Commit f776f3c

Browse files
api-clients-generation-pipeline[bot]jirikuncarci.datadog-api-spec
authored
ci: run integration tests (#792)
* do not run integration-only tests * check-examples * Regenerate client from commit 267134d of spec repo Co-authored-by: Jiri Kuncar <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent e5d4732 commit f776f3c

File tree

3 files changed

+5
-11
lines changed

3 files changed

+5
-11
lines changed

.apigentools-info

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.4.1.dev6",
7-
"regenerated": "2021-04-27 16:17:58.448956",
8-
"spec_repo_commit": "088737f"
7+
"regenerated": "2021-04-28 06:31:18.562255",
8+
"spec_repo_commit": "267134d"
99
},
1010
"v2": {
1111
"apigentools_version": "1.4.1.dev6",
12-
"regenerated": "2021-04-27 16:18:21.882286",
13-
"spec_repo_commit": "088737f"
12+
"regenerated": "2021-04-28 06:31:41.533345",
13+
"spec_repo_commit": "267134d"
1414
}
1515
}
1616
}

check-examples.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
for f in examples/v*/*/*.java ; do
66
df=$(dirname $f)/$(basename $f .java)
77
mkdir -p $df
8-
cp $f $df/Example.java
8+
mv $f $df/Example.java
99
done
1010

1111
mvn -DskipTests -Dmaven.javadoc.skip=true clean install

run-tests.sh

-6
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,4 @@ if [ "$RERECORD_FAILED_TESTS" == "true" -a "$RESULT" -ne 0 ]; then
5454
RESULT=$?
5555
fi
5656

57-
# Always run integration-only scenarios
58-
set -e
59-
if [ "$RECORD" != "none" -a -n "$DD_TEST_CLIENT_API_KEY" -a -n "$DD_TEST_CLIENT_APP_KEY" ]; then
60-
RECORD=none mvn test -Dtest=ScenariosTest -Dcucumber.filter.tags="@integration-only"
61-
fi
62-
6357
exit $RESULT

0 commit comments

Comments
 (0)