mirror of
https://github.com/Icinga/icingadb.git
synced 2026-05-28 04:35:54 -04:00
Integration tests: add author/removed_by to downtime cancellations
This is implicitly checked in the history consistency tests in HA setups.
This commit is contained in:
parent
02a36ad8b5
commit
de7b16cf22
1 changed files with 2 additions and 0 deletions
|
|
@ -312,6 +312,7 @@ func testHistory(t *testing.T, numNodes int) {
|
|||
|
||||
req, err = json.Marshal(ActionsRemoveDowntimeRequest{
|
||||
Downtime: downtimeName,
|
||||
Author: utils.RandomString(8),
|
||||
})
|
||||
require.NoError(t, err, "marshal remove-downtime request")
|
||||
response, err = client.PostJson("/v1/actions/remove-downtime", bytes.NewBuffer(req))
|
||||
|
|
@ -678,6 +679,7 @@ type ActionsProcessCheckResultRequest struct {
|
|||
|
||||
type ActionsRemoveDowntimeRequest struct {
|
||||
Downtime string `json:"downtime"`
|
||||
Author string `json:"author"`
|
||||
}
|
||||
|
||||
type ActionsScheduleDowntimeRequest struct {
|
||||
|
|
|
|||
Loading…
Reference in a new issue