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(itest): fix GraphQLTest.java #395

Merged
merged 38 commits into from
Jun 26, 2024
Merged

Conversation

aali309
Copy link
Contributor

@aali309 aali309 commented Apr 19, 2024

Welcome to Cryostat3! 👋

Before contributing, make sure you have:

  • Read the contributing guidelines
  • Linked a relevant issue which this PR resolves
  • Linked any other relevant issues, PR's, or documentation, if any
  • Resolved all conflicts, if any
  • Rebased your branch PR on top of the latest upstream main branch
  • Attached at least one of the following labels to the PR: [chore, ci, docs, feat, fix, test]
  • Signed all commits using a GPG signature

To recreate commits with GPG signature git fetch upstream && git rebase --force --gpg-sign upstream/main


Based on: #294
Continuation of: #316

Description of the change:

This change allows an environment variable to be configured so that...

Motivation for the change:

This change is helpful because users may want to...

How to manually test:

  1. Run CRYOSTAT_IMAGE=quay.io... bash smoketest.bash...
  2. ...

@aali309 aali309 added the fix label Apr 19, 2024
@github-actions github-actions bot added the needs-triage Needs thorough attention from code reviewers label Apr 19, 2024
@andrewazores andrewazores added safe-to-test and removed needs-triage Needs thorough attention from code reviewers labels Apr 19, 2024
@aali309 aali309 force-pushed the GraphQLTest branch 2 times, most recently from d363479 to 4b532b9 Compare April 23, 2024 17:15
@aali309 aali309 self-assigned this Apr 30, 2024
@aali309 aali309 force-pushed the GraphQLTest branch 4 times, most recently from e9b4de4 to 3019caa Compare May 7, 2024 13:49
@aali309 aali309 force-pushed the GraphQLTest branch 3 times, most recently from 785e520 to b0d7704 Compare June 6, 2024 17:50
@aali309 aali309 force-pushed the GraphQLTest branch 3 times, most recently from 03b1dff to fbc5b87 Compare June 13, 2024 22:11
@aali309 aali309 requested a review from a team June 20, 2024 14:17
@aali309 aali309 marked this pull request as ready for review June 20, 2024 14:17
@andrewazores
Copy link
Member

/build_test

Copy link

Workflow started at 6/24/2024, 2:18:20 PM. View Actions Run.

Copy link

OpenAPI schema change detected:

diff --git a/schema/openapi.yaml b/schema/openapi.yaml
index ae4c70b..0456528 100644
--- a/schema/openapi.yaml
+++ b/schema/openapi.yaml
@@ -55,20 +55,24 @@ components:
           type: array
       type: object
     Data:
       type: object
     DiscoveryNode:
       properties:
         children:
           items:
             $ref: '#/components/schemas/DiscoveryNode'
           type: array
+        descendantTargets:
+          items:
+            $ref: '#/components/schemas/DiscoveryNode'
+          type: array
         id:
           format: int64
           type: integer
         labels:
           additionalProperties:
             type: string
           type: object
         name:
           pattern: \S
           type: string

Copy link

No GraphQL schema changes detected.

Copy link

CI build and push: All tests pass ✅ (JDK17)
https://github.com/cryostatio/cryostat/actions/runs/9650400216

@@ -18,9 +18,13 @@
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.hasItem;
import static org.hamcrest.Matchers.is;
import static org.mockito.ArgumentMatchers.*;
import static org.mockito.Mockito.*;
Copy link
Member

Choose a reason for hiding this comment

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

Could you replace these start-imports with explicit imports for whichever classes and static methods are used?

Copy link

@mergify mergify bot left a comment

Choose a reason for hiding this comment

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

Pull Request blocked. webui submodule updates are performed automatically by CI when that repository is updated. Please revert or drop all changes to the webui submodule from this PR and perform any required frontend work by opening and merging a PR against cryostat-web.

mergify[bot]
mergify bot previously requested changes Jun 26, 2024
Copy link

@mergify mergify bot left a comment

Choose a reason for hiding this comment

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

Pull Request blocked. webui submodule updates are performed automatically by CI when that repository is updated. Please revert or drop all changes to the webui submodule from this PR and perform any required frontend work by opening and merging a PR against cryostat-web.

@andrewazores
Copy link
Member

/build_test

Copy link

Workflow started at 6/26/2024, 11:45:48 AM. View Actions Run.

Copy link

No OpenAPI schema changes detected.

Copy link

No GraphQL schema changes detected.

Copy link

CI build and push: All tests pass ✅ (JDK17)
https://github.com/cryostatio/cryostat/actions/runs/9682758133

@andrewazores andrewazores merged commit c5ea2a3 into cryostatio:main Jun 26, 2024
11 checks passed
mergify bot pushed a commit that referenced this pull request Jun 26, 2024
Co-authored-by: Andrew Azores <[email protected]>
(cherry picked from commit c5ea2a3)
@aali309 aali309 deleted the GraphQLTest branch June 26, 2024 17:47
andrewazores pushed a commit that referenced this pull request Jun 26, 2024
fix(itest): fix GraphQLTest.java (#395)

Co-authored-by: Andrew Azores <[email protected]>
(cherry picked from commit c5ea2a3)

Co-authored-by: Atif Ali <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants