-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #250 from concord-consortium/remove-flaky-time-test
fix: Remove flaky time test
- Loading branch information
Showing
2 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -819,15 +819,15 @@ FROM | |
` | ||
|
||
exports.expectedUserLogSQLresult = ` | ||
-- name log.username IN ('[email protected]', '[email protected]') AND log.activity IN ('activity-1', 'activity-2') AND time >= 1704171600 AND time <= 1709528400 | ||
-- name log.username IN ('[email protected]', '[email protected]') AND log.activity IN ('activity-1', 'activity-2') | ||
-- type user event log | ||
-- reportType user-event-log | ||
-- usernames: ["[email protected]","[email protected]"] | ||
-- activities: ["activity-1","activity-2"] | ||
SELECT * | ||
FROM "undefined"."logs_by_time" log | ||
WHERE log.username IN ('[email protected]', '[email protected]') AND log.activity IN ('activity-1', 'activity-2') AND time >= 1704171600 AND time <= 1709528400 | ||
WHERE log.username IN ('[email protected]', '[email protected]') AND log.activity IN ('activity-1', 'activity-2') | ||
` | ||
|
||
exports.expectedNarrowLearnerLogWithNamesSqlResult = ` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -244,7 +244,7 @@ describe('Query creation unreportable runnable', function () { | |
describe('Query creation for log data', function () { | ||
|
||
it('verifies successful query creation of user log data', async () => { | ||
const generatedSQLresult = await aws.generateUserLogSQL(["[email protected]", "[email protected]"], ["activity-1", "activity-2"], "1/2/2024", "3/4/2024"); | ||
const generatedSQLresult = await aws.generateUserLogSQL(["[email protected]", "[email protected]"], ["activity-1", "activity-2"]); | ||
const normalizedGeneratedSQLresult = normalizeSQL(generatedSQLresult); | ||
const normalizedExpectedSQLresult = normalizeSQL(expectedUserLogSQLresult); | ||
expect(normalizedGeneratedSQLresult).to.be.equal(normalizedExpectedSQLresult); | ||
|