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

Add integration test for deep queries #5935

Merged
merged 1 commit into from Feb 9, 2024

Conversation

andreibancioiu
Copy link
Collaborator

No description provided.

@andreibancioiu andreibancioiu self-assigned this Feb 8, 2024
@andreibancioiu andreibancioiu changed the title Add integration test for deep queries. Add integration test for deep queries Feb 8, 2024
@@ -0,0 +1,206 @@
//go:build !race

// TODO remove build condition above to allow -race -short, after Wasm VM fix
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Question for review: is this still applicable?

Copy link
Contributor

Choose a reason for hiding this comment

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

yes, can not be taken out for now :(


require.Equal(t, snapshotsOfGetState[1], historyOfGetState[1])
require.Equal(t, snapshotsOfGetNow[1].blockNonce, historyOfGetNow[1].blockNonce)
// This does not seem right!
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Though, I think the issue is with the test node, not with the actual implementation of deep queries.

@@ -0,0 +1,206 @@
//go:build !race

// TODO remove build condition above to allow -race -short, after Wasm VM fix
Copy link
Contributor

Choose a reason for hiding this comment

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

yes, can not be taken out for now :(

@iulianpascalau iulianpascalau merged commit 2574f71 into sandbox-queries Feb 9, 2024
3 checks passed
@iulianpascalau iulianpascalau deleted the deep-query-test-01 branch February 9, 2024 16:44
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.

None yet

2 participants