-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update the scenarios for service availability check
- Loading branch information
1 parent
15420a3
commit dc7bdf2
Showing
8 changed files
with
166 additions
and
179 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 9 additions & 13 deletions
22
tests/acceptance/features/apiCollaboration/serviceAvailabilityCheck.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,15 @@ | ||
Feature: service health check | ||
|
||
@skip | ||
|
||
Scenario: check service health | ||
When a user requests these endpoints: | ||
| endpoint | service | comment | | ||
| wopi-onlyoffice:9304/healthz | collaboration | wopi-onlyoffice port 9304: Connection refused in CI | | ||
| wopi-collabora:9304/healthz | collaboration | wopi-collabora port 9304: Connection refused in CI | | ||
| wopi-fakeoffice:9304/healthz | collaboration | wopi-fakeoffice port 9304: Connection refused in CI | | ||
When a user requests these endpoints with "GET" and no authentication | ||
| endpoint | service | comment | | ||
| %collaboration_hostname%:9304/healthz | collaboration | | | ||
Then the HTTP status code of responses on all endpoints should be "200" | ||
|
||
@skip | ||
|
||
Scenario: check service readiness | ||
When a user requests these endpoints: | ||
| endpoint | service | comment | | ||
| wopi-onlyoffice:9304/readyz | collaboration | wopi-onlyoffice port 9304: Connection refused in CI | | ||
| wopi-collabora:9304/readyz | collaboration | wopi-collabora port 9304: Connection refused in CI | | ||
| wopi-fakeoffice:9304/readyz | collaboration | wopi-fakeoffice port 9304: Connection refused in CI | | ||
Then the HTTP status code of responses on all endpoints should be "200" | ||
When a user requests these endpoints with "GET" and no authentication | ||
| endpoint | service | comment | | ||
| %collaboration_hostname%:9304/readyz | collaboration | | | ||
Then the HTTP status code of responses on all endpoints should be "200" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.