Skip to content

feat(generators): allow per-spec timeouts [skip-bc] #21871

feat(generators): allow per-spec timeouts [skip-bc]

feat(generators): allow per-spec timeouts [skip-bc] #21871

Triggered via pull request November 29, 2024 09:06
Status Cancelled
Total duration 21m 49s
Artifacts 10

check.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors
client java@17
Process completed with exit code 1.
src/client/ingestion.test.ts > commonApi > calls api with default read timeouts: tests/output/javascript/src/client/ingestion.test.ts#L66
AssertionError: expected { headers: { …(4) }, …(7) } to deeply equal ObjectContaining{…} - Expected + Received - ObjectContaining { - "connectTimeout": 2000, - "responseTimeout": 5000, + Object { + "algoliaAgent": "Algolia%20for%20JavaScript%20(1.15.0)%3B%20Ingestion%20(1.15.0)%3B%20Node.js%20(22.11.0)", + "connectTimeout": 25000, + "headers": Object { + "accept": "application/json", + "content-type": "text/plain", + "x-algolia-api-key": "test-api-key", + "x-algolia-application-id": "test-app-id", + }, + "host": "data.us.algolia.com", + "method": "GET", + "path": "/1/test", + "responseTimeout": 25000, + "url": "https://data.us.algolia.com/1/test?x-algolia-agent=Algolia%20for%20JavaScript%20(1.15.0)%3B%20Ingestion%20(1.15.0)%3B%20Node.js%20(22.11.0)", } ❯ src/client/ingestion.test.ts:66:20
src/client/ingestion.test.ts > commonApi > calls api with default write timeouts: tests/output/javascript/src/client/ingestion.test.ts#L74
AssertionError: expected { data: {}, headers: { …(4) }, …(7) } to deeply equal ObjectContaining{…} - Expected + Received - ObjectContaining { - "connectTimeout": 2000, - "responseTimeout": 30000, + Object { + "algoliaAgent": "Algolia%20for%20JavaScript%20(1.15.0)%3B%20Ingestion%20(1.15.0)%3B%20Node.js%20(22.11.0)", + "connectTimeout": 25000, + "data": Object {}, + "headers": Object { + "accept": "application/json", + "content-type": "text/plain", + "x-algolia-api-key": "test-api-key", + "x-algolia-application-id": "test-app-id", + }, + "host": "data.us.algolia.com", + "method": "POST", + "path": "/1/test", + "responseTimeout": 25000, + "url": "https://data.us.algolia.com/1/test?x-algolia-agent=Algolia%20for%20JavaScript%20(1.15.0)%3B%20Ingestion%20(1.15.0)%3B%20Node.js%20(22.11.0)", } ❯ src/client/ingestion.test.ts:74:20
client [email protected]
Process completed with exit code 1.
check_green
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size Digest
clients-csharp Expired
3.84 MB
sha256:184301ce300eea594f92f5628c1414c99353d5864fdff43a828d50084d58c4e9
clients-dart Expired
862 KB
sha256:0713ee75bd94c951d6f1ce8367fb923c81e4ae894b367f4ffc50cf3752c17199
clients-go Expired
1 MB
sha256:6fe702bc4708526277c0043d33f01b029a2a030f87c937ccf41416513effa065
clients-kotlin Expired
540 KB
sha256:06a0d083cfb24faee9265cce55d8a87aba6e2cdef67e54182fece946d218ed61
clients-php Expired
1.04 MB
sha256:d7661edfcfec260d28a96cb986c691f836c65b6e515875075bc59690b2030365
clients-python Expired
942 KB
sha256:cd7cacab8a325acf3a73ff3cf83b00a8c1fef723fc7e41b18263f0c4d39373ff
clients-ruby Expired
1.17 MB
sha256:75168de453aebd31bc8545be30a164b6be512f9601f786a6c0a4aa571e37b9de
clients-scala Expired
1010 KB
sha256:d7c3972296725919f68335113cf6d40a6f3006affe4965f667b278d38a796f7a
clients-swift Expired
728 KB
sha256:827135c0951a71aa073a7fe36440f5dab6af6fa91f359055195ee7ba409ac1d4
specs Expired
429 KB
sha256:23e85ff29709fab6661088f29de7530e2d23b55fdfee5acf7105c01616dd1f76