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

1009 fix skipped tests #1038

Conversation

chlebowa
Copy link
Contributor

Fixes #1009

@chlebowa chlebowa added the core label Jan 10, 2024
@chlebowa chlebowa linked an issue Jan 10, 2024 that may be closed by this pull request
chlebowa and others added 3 commits January 12, 2024 16:54
@chlebowa chlebowa marked this pull request as ready for review January 17, 2024 16:00
@chlebowa
Copy link
Contributor Author

No more skipped tests.

@averissimo averissimo self-assigned this Jan 18, 2024
Copy link
Contributor

@pawelru pawelru left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@averissimo averissimo 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! I think it can be merged as is.

Feel free to accept or discard my only comment as you see best.


I did found an issue when inspecting the teal.data contents, as the hash of data[["d2"]] does not match the initial hash.

Issue created on {teal.slice} insightsengineering/teal.slice#527

rlang::hash(data[["d2"]])
#> [1] "fed25eb8e9c06544ff433b8cbb15379f"

Comment on lines +409 to +410
"stopifnot(rlang::hash(d1) == \"f6f90d2c133ca4abdeb2f7a7d85b731e\")",
"stopifnot(rlang::hash(d2) == \"6e30be195b7d914a1311672c3ebf4e4f\")",
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't feel strongly about this, but consider generating the hash live

Suggested change
"stopifnot(rlang::hash(d1) == \"f6f90d2c133ca4abdeb2f7a7d85b731e\")",
"stopifnot(rlang::hash(d2) == \"6e30be195b7d914a1311672c3ebf4e4f\")",
paste0(
"stopifnot(rlang::hash(d1) == \"",
rlang::hash(data.frame(id = 1:5, pk = c(2, 3, 2, 1, 4), val = 1:5)),
"\")"
),
paste0(
"stopifnot(rlang::hash(d2) == \"",
rlang::hash(data.frame(id = 1:5, value = 1:5)),
"\")"
),

@chlebowa
Copy link
Contributor Author

my only comment

I don't quite understand. This is not connected to this issue, is it?

@chlebowa chlebowa merged commit 80d075e into pre-release-cleanup@main Jan 18, 2024
@chlebowa chlebowa deleted the 1009_fix_skipped_tests@pre-release-cleanup@main branch January 18, 2024 13:12
@averissimo
Copy link
Contributor

@chlebowa I was mentioning the suggestion that calculates the hash instead of using a manual string.

Doesn't matter now :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix temporarily skipped tests
3 participants