Skip to content

Commit

Permalink
Fix and reenable test.
Browse files Browse the repository at this point in the history
  • Loading branch information
skh committed Apr 8, 2021
1 parent e655359 commit 573c1be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default function (providerContext: FtrProviderContext) {
expect(JSON.parse(pkgInfoResponse.text).response.status).to.be('not_installed');
});

it.skip('on an upgrade, it should fall back to the previous good version during rollback', async function () {
it('on an upgrade, it should fall back to the previous good version during rollback', async function () {
await installPackage(goodPackage);
await supertest
.post(`/api/fleet/epm/packages/${badPackage}`)
Expand All @@ -59,8 +59,7 @@ export default function (providerContext: FtrProviderContext) {
expect(JSON.parse(badPkgInfoResponse.text).response.status).to.be('not_installed');

const goodPkgInfoResponse = await getPackageInfo(goodPackage);
// TODO: status is not_installed here which looks like a bug
// expect(JSON.parse(goodPkgInfoResponse.text).response.status).to.be('installed');
expect(JSON.parse(goodPkgInfoResponse.text).response.status).to.be('installed');
expect(JSON.parse(goodPkgInfoResponse.text).response.version).to.be('0.1.0');
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"id": "sample_visualization",
"type": "visualization",
"migrationVersion": {
"visualization": "12.7.0"
"visualization": "7.7.0"
}
}

0 comments on commit 573c1be

Please sign in to comment.