Description
getQueryContext method at line[1] converts finished lens query to QueryContext object using toQueryContext method in FinishedLensQuery.class.
toQueryContext method at line[2] does not set launch time in QueryContext object, due to which it defaults to 0.
If a test case calls getStatus API on a already purged successful query, it gets a LensQuery object in which launch time is set to 0.
This results in intermittent test failures. If query is not purged to Db, then test case gets proper launch time. If the query is already purged to Db, then test case gets launch time as 0 and fails.
Attachments
Issue Links
- is part of
-
LENS-619 Applying Query Launching Constraints before allowing a query to be launched
- Closed