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

Replace test-api.k6.io with QuickPizza #1849

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open

Conversation

federicotdn
Copy link
Contributor

@federicotdn federicotdn commented Jan 30, 2025

What?

Part of https://github.com/grafana/k6-cloud/issues/2437.

Replaces all uses of test-api for Quickpizza.
I will replace the localhost:3333 URLs shortly. After the PR has been reviewed, I'll apply the changes to older k6 versions.

Checklist

  • I have used a meaningful title for the PR.
  • I have described the changes I've made in the "What?" section above.
  • I have performed a self-review of my changes.
  • I have run the npm start command locally and verified that the changes look good.
  • I have made my changes in the docs/sources/k6/next folder of the documentation.
  • I have reflected my changes in the docs/sources/k6/v{most_recent_release} folder of the documentation.
  • I have reflected my changes in the relevant folders of the two previous k6 versions of the documentation (if still applicable to previous versions).
  • I have made my changes in the docs/sources/k6/next folder of the documentation.

Related PR(s)/Issue(s)

@@ -35,7 +35,7 @@ The other evaluates whether 95 percent of responses happen within a certain dura

{{< code >}}

<!-- md-k6:skip -->
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Many in this file need to be run without thresholds because otherwise they will fail due to network latency variations.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

However at least now we are not skipping them.

@@ -350,3 +352,5 @@ export function handleSummary(data) {
| Method | Description |
| :--------------------------------------------------------------------------------------------------------------------------------------------- | :---------------------------------- |
| [`Client.sendCommand(command, args)`](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-experimental/redis/client/client-sendcommand) | Send a command to the Redis server. |

<!-- md-k6:skipall -->
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We don't have Redis to test against

@federicotdn federicotdn marked this pull request as ready for review January 30, 2025 15:36
@federicotdn federicotdn requested review from heitortsergent and a team as code owners January 30, 2025 15:36
@federicotdn federicotdn requested review from olegbespalov and joanlopez and removed request for a team, olegbespalov and joanlopez January 30, 2025 15:36

expect(response.body).to.have.lengthOf.at.least(500);
expect(response.body).to.have.lengthOf.at.least(100);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not sure what this was trying to test.

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.

1 participant