Skip to content

Commit

Permalink
Add migration version to updated es archiver data to fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jen-huang committed Aug 18, 2020
1 parent 96182d8 commit 301a412
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,10 @@
"references": [
],
"type": "fleet-agents",
"updated_at": "2020-06-25T18:52:48.464Z"
"updated_at": "2020-06-25T18:52:48.464Z",
"migrationVersion": {
"fleet-agents": "7.10.0"
}
}
}
}
Expand All @@ -202,7 +205,10 @@
"references": [
],
"type": "fleet-enrollment-api-keys",
"updated_at": "2020-06-25T17:25:30.114Z"
"updated_at": "2020-06-25T17:25:30.114Z",
"migrationVersion": {
"fleet-enrollment-api-keys": "7.10.0"
}
}
}
}
23 changes: 22 additions & 1 deletion x-pack/test/functional/es_archives/fleet/agents/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
"type": "PERMANENT",
"local_metadata": {},
"user_provided_metadata": {}
},
"migrationVersion": {
"fleet-agents": "7.10.0"
}
}
}
Expand All @@ -32,6 +35,9 @@
"type": "PERMANENT",
"local_metadata": {},
"user_provided_metadata": {}
},
"migrationVersion": {
"fleet-agents": "7.10.0"
}
}
}
Expand All @@ -51,6 +57,9 @@
"type": "PERMANENT",
"local_metadata": {},
"user_provided_metadata": {}
},
"migrationVersion": {
"fleet-agents": "7.10.0"
}
}
}
Expand All @@ -70,6 +79,9 @@
"type": "PERMANENT",
"local_metadata": {},
"user_provided_metadata": {}
},
"migrationVersion": {
"fleet-agents": "7.10.0"
}
}
}
Expand All @@ -89,7 +101,10 @@
"active" : true
},
"type" : "fleet-enrollment-api-keys",
"references": []
"references": [],
"migrationVersion": {
"fleet-enrollment-api-keys": "7.10.0"
}
}
}
}
Expand All @@ -108,6 +123,9 @@
"message": "State changed from STOPPED to STARTED",
"payload": "{\"previous_state\": \"STOPPED\"}",
"timestamp": "2019-09-20T17:30:22.950Z"
},
"migrationVersion": {
"fleet-agent-events": "7.10.0"
}
}
}
Expand Down Expand Up @@ -221,6 +239,9 @@
"revision": 2,
"updated_at": "2020-05-07T19:34:42.533Z",
"updated_by": "system"
},
"migrationVersion": {
"ingest-agent-policies": "7.10.0"
}
}
}
Expand Down

0 comments on commit 301a412

Please sign in to comment.