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 inner try-catch to catch biolucida request issue separately #189

Merged
merged 1 commit into from
Aug 27, 2024

Conversation

ddjnw1yu
Copy link
Collaborator

This is to fix the image gallery testing issue caused by failed biolucida requests.

Previously, one try-catch was used for both scrunch and biolucida requests. If one fails, another one will be affected. This is causing no items in the gallery.
Screenshot 2024-08-27 at 9 56 55 AM

Added the inner try-catch for biolucida request. Scicrunch-based functionality will not be affected (e.g. dataset info/UI display) if the biolucida request failed.
Screenshot 2024-08-27 at 9 57 48 AM

Gallery testing will not be affected by the biolucida server issue as long as the scicrunch server works fine.

Copy link

cypress bot commented Aug 26, 2024

SPARC Vue3 Portal Testing    Run #232

Run Properties:  status check passed Passed #232  •  git commit d8425206aa: Add inner try-catch to catch biolucida request issue
Project SPARC Vue3 Portal Testing
Branch Review gallery-testing-issue
Run status status check passed Passed #232
Run duration 13m 52s
Commit git commit d8425206aa: Add inner try-catch to catch biolucida request issue
Committer David J. Yu
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 2
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 71
View all changes introduced in this branch ↗︎

@ddjnw1yu ddjnw1yu requested a review from alan-wu August 27, 2024 00:23
Copy link
Contributor

@alan-wu alan-wu 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 to me.

@alan-wu alan-wu merged commit 1ff276b into nih-sparc:main Aug 27, 2024
2 checks passed
@ddjnw1yu ddjnw1yu deleted the gallery-testing-issue branch August 27, 2024 01:50
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.

2 participants