Skip to content

Commit

Permalink
[backport] [Tech debt] Removes commented out code (#172861)
Browse files Browse the repository at this point in the history
code cleanup from #172746
  • Loading branch information
TinaHeiligers authored Dec 8, 2023
1 parent b0ccd31 commit 5838d16
Showing 1 changed file with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,19 +129,5 @@ describe('migration v2', () => {
);

expect(logRecordWithPit).toBeTruthy();
/* TEMPORARILY DISABLE
const pitId = logRecordWithPit.right.pitId;
expect(pitId).toBeTruthy();
const client = esServer.es.getClient();
await expect(
client.search({
body: {
pit: { id: pitId },
},
})
// throws an exception that cannot search with closed PIT
).rejects.toThrow(/search_phase_execution_exception/);
*/
});
});

0 comments on commit 5838d16

Please sign in to comment.