Skip to content

add checks for online status before expecting resources available#121

Open
eric-milles wants to merge 1 commit into
apache:masterfrom
eric-milles:offline-testing
Open

add checks for online status before expecting resources available#121
eric-milles wants to merge 1 commit into
apache:masterfrom
eric-milles:offline-testing

Conversation

@eric-milles

Copy link
Copy Markdown
Member

I had a short outage and noticed that quite a few tests expect online connectivity but not all have assumes to skip if offline.

@eric-milles

Copy link
Copy Markdown
Member Author

@maartenc Any issues with this?

@maartenc

Copy link
Copy Markdown
Contributor

I would prefer that you'd somehow pass some extra option, or use a different Ant target, to run the tests in offline mode.
If now a server would be permanently be brought offline, those tests won't ever be executed again and we would not notice it.

Also here, this can be done after a 2.6.0 release

@eric-milles

Copy link
Copy Markdown
Member Author

I could add tags if it was JUnit 5. But I did not want to tilt at that particular windmill just yet. Not sure if JUnit 4 category is usable enough. Anyways, there are some assumes used before I added, so there is a wider bit of work to try and mark all the offline-incompatible tests.

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