Overview
Comment: | run-wait should wait on launched tests too |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | v1.65 |
Files: | files | file ages | folders |
SHA1: |
9f03d93cddf2c7503c53eb639fe66d37 |
User & Date: | bjbarcla on 2017-12-29 16:10:45 |
Other Links: | branch diff | manifest | tags |
Context
2017-12-29
| ||
16:14 | run-wait should wait on launched tests which have no itempath too check-in: 87b98ca112 user: bjbarcla tags: v1.65 | |
16:10 | run-wait should wait on launched tests too check-in: 9f03d93cdd user: bjbarcla tags: v1.65 | |
15:58 | we need to wait longer for state-status to settle for run wait check-in: 8b52109594 user: bjbarcla tags: v1.65 | |
Changes
Modified db.scm from [1866550cfc] to [127fb31841].
︙ | ︙ | |||
2864 2865 2866 2867 2868 2869 2870 | run-id #f (lambda (db) (sqlite3:first-result db ;; WARNING BUG EDIT ME - merged from v1.55 - not sure what is right here ... ;; "SELECT count(id) FROM tests WHERE state in ('RUNNING','LAUNCHED','REMOTEHOSTSTART') AND run_id NOT IN (SELECT id FROM runs WHERE state='deleted') AND NOT (uname = 'n/a' AND item_path = '');") | | | 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 | run-id #f (lambda (db) (sqlite3:first-result db ;; WARNING BUG EDIT ME - merged from v1.55 - not sure what is right here ... ;; "SELECT count(id) FROM tests WHERE state in ('RUNNING','LAUNCHED','REMOTEHOSTSTART') AND run_id NOT IN (SELECT id FROM runs WHERE state='deleted') AND NOT (uname = 'n/a' AND item_path = '');") "SELECT count(id) FROM tests WHERE state in ('RUNNING','REMOTEHOSTSTART','LAUNCHED') AND run_id=?;" run-id)))) ;; NOT IN (SELECT id FROM runs WHERE state='deleted');") ;; NEW BEHAVIOR: Look only at single run with run-id ;; ;; (define (db:get-running-stats dbstruct run-id) (define (db:get-count-tests-running-for-run-id dbstruct run-id) (db:with-db |
︙ | ︙ |