Skip to content

Commit 5daeb4a

Browse files
authored
test: increase start delay for buildpack integration test (GoogleCloudPlatform#207)
This will decrease the flakiness of the tests due to not being able to reach the FF container/server because it hasn't started up fully yet.
1 parent ed0b1d3 commit 5daeb4a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/buildpack-integration-test.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
cloudevent-builder-target: 'write_cloud_event_declarative'
1616
prerun: 'tests/conformance/prerun.sh ${{ github.sha }}'
1717
builder-runtime: 'python37'
18+
start-delay: 5
1819
python38:
1920
uses: GoogleCloudPlatform/functions-framework-conformance/.github/workflows/buildpack-integration-test.yml@v1.8.0
2021
with:
@@ -24,6 +25,7 @@ jobs:
2425
cloudevent-builder-target: 'write_cloud_event_declarative'
2526
prerun: 'tests/conformance/prerun.sh ${{ github.sha }}'
2627
builder-runtime: 'python38'
28+
start-delay: 5
2729
python39:
2830
uses: GoogleCloudPlatform/functions-framework-conformance/.github/workflows/buildpack-integration-test.yml@v1.8.0
2931
with:
@@ -33,6 +35,7 @@ jobs:
3335
cloudevent-builder-target: 'write_cloud_event_declarative'
3436
prerun: 'tests/conformance/prerun.sh ${{ github.sha }}'
3537
builder-runtime: 'python39'
38+
start-delay: 5
3639
python310:
3740
uses: GoogleCloudPlatform/functions-framework-conformance/.github/workflows/buildpack-integration-test.yml@v1.8.0
3841
with:
@@ -41,4 +44,5 @@ jobs:
4144
cloudevent-builder-source: 'tests/conformance'
4245
cloudevent-builder-target: 'write_cloud_event_declarative'
4346
prerun: 'tests/conformance/prerun.sh ${{ github.sha }}'
44-
builder-runtime: 'python310'
47+
builder-runtime: 'python310'
48+
start-delay: 5

0 commit comments

Comments
 (0)