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

TADA_DataRetrieval test failure #569

Open
cristinamullin opened this issue Feb 8, 2025 · 0 comments
Open

TADA_DataRetrieval test failure #569

cristinamullin opened this issue Feb 8, 2025 · 0 comments

Comments

@cristinamullin
Copy link
Collaborator

Describe the bug

TADA_DataRetrieval test sometimes fails, meaning the service does not always return the same set of columns.
https://github.com/USEPA/EPATADA/actions/runs/13209601584/job/36880455644?pr=555

Look into why. Here is an example failure. Code to reproduce the behavior:

testfailure = TADA_DataRetrieval(startDate = "2023-10-24", endDate = "2023-10-27", statecode = "IL")

test_that("TADA_DataRetrieval", {
  expect_true(all(
    Filter(function(x) !any(grepl("TADA.", x)), require.cols) %in% names(testfailure)
  ))
})

Expected behavior

The test, located in test-DataDiscoveryRetrieval.R on line 259-265 should always pass.

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

No branches or pull requests

1 participant