You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feature(frontend): Adding support for dynamic TracetestAPI instance (#3075)
* feature(frontend): Adding support for dynamic TracetestAPI instance
* feature(frontend): Adding support for dynamic TracetestAPI instance
* Tenant ID queries fix
* Removing test for the moment
* Cleanup and test fixing
query, params:=sqlutil.Tenant(ctx, selectRunQuery+" WHERE test_id = $1 AND test_version = $2 ORDER BY created_at DESC LIMIT 1", testID.String(), version)
434
-
stmt, err:=r.db.Prepare(query)
433
+
query, params:=sqlutil.TenantWithPrefix(ctx, selectRunQuery+" WHERE test_id = $1 AND test_version = $2", "test_runs.", testID.String(), version)
434
+
stmt, err:=r.db.Prepare(query+" ORDER BY created_at DESC LIMIT 1")
0 commit comments