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 Zmachine tests #3186

Merged
merged 9 commits into from
Aug 25, 2024
Merged

Fix Zmachine tests #3186

merged 9 commits into from
Aug 25, 2024

Conversation

zaelgohary
Copy link
Contributor

@zaelgohary zaelgohary commented Jul 31, 2024

Description

  • Tests were passing before because compute capacity class wasn't validated. Edited zmachine tests & validated its workload

image

Changes

  • Fix zmachine tests
  • Add more tests
  • Validate zmachine workload

Related Issues

Checklist

  • Tests included
  • Build pass
  • Documentation
  • Code format and docstrings
  • Screenshots/Video attached (needed for UI changes)

Copy link
Contributor

@AhmedHanafy725 AhmedHanafy725 left a comment

Choose a reason for hiding this comment

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

I think the tests are not enough, we can test every property on the zmachine workload.

we can even write json workload and try to cast it on the class to test the data type

@AhmedHanafy725
Copy link
Contributor

please use better title for the PR

@zaelgohary zaelgohary changed the title Development_zmachine_test Fix Zmachine tests Jul 31, 2024
@Mahmoud-Emad
Copy link
Contributor

Please resolve the conflicts

@zaelgohary
Copy link
Contributor Author

Please resolve the conflicts

Done.

@AhmedHanafy725
Copy link
Contributor

I think the tests are not enough, we can test every property on the zmachine workload.

still we can add more tests

@zaelgohary zaelgohary marked this pull request as draft August 8, 2024 12:51
@zaelgohary zaelgohary marked this pull request as ready for review August 13, 2024 05:00
@zaelgohary zaelgohary marked this pull request as draft August 14, 2024 07:02
@zaelgohary zaelgohary marked this pull request as ready for review August 14, 2024 08:02
Copy link
Contributor

@AhmedHanafy725 AhmedHanafy725 left a comment

Choose a reason for hiding this comment

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

you may think about more edge cases

@zaelgohary zaelgohary merged commit b00d6f5 into development Aug 25, 2024
9 checks passed
@zaelgohary zaelgohary deleted the development_zmachine_test branch August 25, 2024 14:26
@xmonader xmonader added this to the 2.6.0 milestone Sep 24, 2024
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.

5 participants