8000 More shiny fixes by jeanconn · Pull Request #231 · sot/mica · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

More shiny fixes #231

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

Merged
merged 2 commits into from
Aug 10, 2020
Merged

More shiny fixes #231

merged 2 commits into from
Aug 10, 2020

Conversation

jeanconn
Copy link
Contributor
@jeanconn jeanconn commented Aug 7, 2020

Description

Fix V&V handling of missing fid in shiny (also works in ska3-flight).
Also set code to assume USER to run the axafvv queries so the V&V report making can work as user other than 'jeanconn'.
Set report writing test to work as USER as well and provide new warnings on Linux if the axafvv database access doesn't work.

Testing

  • Passes unit tests on Linux with ska3-flight or shiny
  • Functional testing does not apply as the code changes were to remove warnings and errors in unit tests outputs

Fixes #228, #179, #152

@jeanconn jeanconn mentioned this pull request Aug 7, 2020
2 tasks
@taldcroft
Copy link
Member

Does this pass tests as a user without sybase access?

@jeanconn
Copy link
Contributor Author
jeanconn commented Aug 8, 2020

Good question. I think the logic I put in for the sybase stuff is moving in the right direction, but I suppose I can try tests as kadi user on linux and see if I get the right skips and expected warns.

@jeanconn jeanconn force-pushed the more-shiny-test branch 3 times, most recently from cfdfed0 to 6e32a8e Compare August 8, 2020 11:16
@jeanconn
Copy link
Contributor Author
jeanconn commented Aug 8, 2020

So stringifying the fid id seems to be the only thing needed to pass tests.

The changes to remove the "jeanconn" business look to me like they work to add new warnings if the tests are being run on head either in an environment that isn't set up for sybase or as a user who doesn't have axafvv database access. Passes test as 'kadi' user with and without SYBASE set, appropriately skips the report test but adds a warning. I think the warning is appropriate for my use cases but if we want to, say, pull the report-writing test into something separate to run as a "long" test we could do that. We could also ask for 'aca' user to have 'axafvv' read access and Javier is going to need it too.

@taldcroft taldcroft merged commit a348ff4 into master Aug 10, 2020
@taldcroft taldcroft deleted the more-shiny-test branch August 10, 2020 14:59
@javierggt javierggt mentioned this pull request Dec 7, 2020
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.

Failing unit test test_run_vv_omitted_fid in shiny on HEAD
2 participants
0