Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cts): add waitForTask helpers tests [skip-bc] #3618

Merged
merged 3 commits into from
Sep 2, 2024
Merged

Conversation

millotp
Copy link
Collaborator

@millotp millotp commented Aug 29, 2024

🧭 What and Why

Add all helpers to the spec and to the cts:

  • waitForTask
  • waitForAppTask

@millotp millotp self-assigned this Aug 29, 2024
@algolia-bot
Copy link
Collaborator

algolia-bot commented Aug 29, 2024

✔️ Code generated!

Name Link
🪓 Triggered by 9c8279ff736244a1f05996690318136ca2910ffc
🍃 Generated commit 9d9b9a1c0d491f618707288362a81674e13bcccb
🌲 Generated branch generated/fix/helpers-tests
📊 Benchmark results

Benchmarks performed on the method using a mock server, the results might not reflect the real-world performance.

Language Req/s
javascript 1633
php 1499
csharp 1020
python 1005
java 962
ruby 946
swift 778
go 565
kotlin 475

@millotp millotp changed the title fix(cts): add the remaining helpers tests fix(cts): add waitForTask helpers tests Aug 30, 2024
@millotp millotp force-pushed the fix/helpers-tests branch 3 times, most recently from 91090b5 to bbf8a84 Compare August 30, 2024 14:52
@millotp millotp marked this pull request as ready for review August 30, 2024 14:53
@millotp millotp requested a review from a team as a code owner August 30, 2024 14:53
@millotp millotp requested review from morganleroi and Fluf22 and removed request for a team August 30, 2024 14:53
Copy link
Contributor

@Fluf22 Fluf22 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!
PHP doesn't seem to deserialize the mock server response correctly, though
And Java seems to consider your work as breaking

Base automatically changed from chore/gen-snippets to main September 2, 2024 07:57
@millotp millotp changed the title fix(cts): add waitForTask helpers tests fix(cts): add waitForTask helpers tests [skip-bc] Sep 2, 2024
Copy link
Contributor

@Fluf22 Fluf22 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment on lines +150 to +152
.option('-e, --no-e2e', 'skip the e2e tests, that requires internet connection')
.option('-c, --no-client', 'skip the client tests')
.option('-r, --no-requests', 'skip the requests tests')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😄😇 jk

Suggested change
.option('-e, --no-e2e', 'skip the e2e tests, that requires internet connection')
.option('-c, --no-client', 'skip the client tests')
.option('-r, --no-requests', 'skip the requests tests')
.option('-e, --skip-e2e', 'skip the e2e tests, that requires internet connection')
.option('-c, --skip-client', 'skip the client tests')
.option('-r, --skip-requests', 'skip the requests tests')

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry that doesn't work ahah

Copy link
Member

@shortcuts shortcuts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

8th wonder of the world incoming

@@ -15,6 +15,9 @@ async function buildLanguage(language: Language, gens: Generator[], buildType: B
case 'csharp':
await run('dotnet build --configuration Release', { cwd, language });
break;
case 'go':
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ooooplaaa

Copy link

github-actions bot commented Sep 2, 2024

@millotp millotp merged commit ab1fc48 into main Sep 2, 2024
25 checks passed
@millotp millotp deleted the fix/helpers-tests branch September 2, 2024 12:27
algolia-bot added a commit that referenced this pull request Sep 2, 2024
… [skip ci]

Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
algolia-bot added a commit to algolia/algoliasearch-client-dart that referenced this pull request Sep 2, 2024
algolia/api-clients-automation#3618

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
algolia-bot added a commit to algolia/algoliasearch-client-go that referenced this pull request Sep 2, 2024
algolia/api-clients-automation#3618

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
algolia-bot added a commit to algolia/algoliasearch-client-java that referenced this pull request Sep 2, 2024
algolia/api-clients-automation#3618

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
algolia-bot added a commit to algolia/algoliasearch-client-kotlin that referenced this pull request Sep 2, 2024
algolia/api-clients-automation#3618

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
algolia-bot added a commit to algolia/algoliasearch-client-php that referenced this pull request Sep 2, 2024
algolia/api-clients-automation#3618

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
algolia-bot added a commit to algolia/algoliasearch-client-scala that referenced this pull request Sep 2, 2024
algolia/api-clients-automation#3618

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants