Skip to content

Commit

Permalink
Merge branch 'main' into feat/add-reverse-indexes-for-localizations-a…
Browse files Browse the repository at this point in the history
…nd-searchtags
  • Loading branch information
oskogstad authored Feb 26, 2025
2 parents a3cc9a0 + f9d2099 commit 37cb74b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/k6/common/sentinel.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@ export default function () {
let hasNextPage = false;
let continuationToken = "";
let dialogIdsToPurge = [];
let oneHourAgo = new Date();
oneHourAgo.setHours(oneHourAgo.getHours() - 1);
let createdAfter = oneHourAgo.toISOString();
do {
let r = getSO('dialogs/?Limit=1000&Search=' + sentinelValue + continuationToken, null, tokenOptions);
let r = getSO('dialogs/?CreatedAfter=' + createdAfter + '&Limit=1000&Search=' + sentinelValue + continuationToken, null, tokenOptions);
expectStatusFor(r).to.equal(200);
expect(r, 'response').to.have.validJsonBody();
let response = r.json();
Expand Down

0 comments on commit 37cb74b

Please sign in to comment.