Overview
Comment: | fixed logic in test registration. More agressive starting of a server when sync takes a long time |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | v1.60 |
Files: | files | file ages | folders |
SHA1: |
333191162a91c70dc3731cb977e73242 |
User & Date: | matt on 2014-11-16 21:50:06 |
Other Links: | branch diff | manifest | tags |
Context
2014-11-16
| ||
21:58 | Tweaks for testing check-in: afb9cc1df1 user: mrwellan tags: v1.60 | |
21:50 | fixed logic in test registration. More agressive starting of a server when sync takes a long time check-in: 333191162a user: matt tags: v1.60 | |
20:51 | missed a variable change in a almost never used routine - only to trigger the use of said routine. check-in: 4cfc6e3ba2 user: matt tags: v1.60 | |
Changes
Modified megatest.scm from [3ecca6725e] to [521d8a79fe].
︙ | |||
300 301 302 303 304 305 306 | 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 | - + - - + - | (if (hash-table-ref/default *db-local-sync* run-id #f) ;; (if (> (- start-time last-write) 5) ;; every five seconds (let ((sync-time (- (current-seconds) start-time))) (db:multi-db-sync (list run-id) 'new2old) (if (common:low-noise-print 30 "sync new to old") (begin (debug:print-info 0 "Sync of newdb to olddb for run-id " run-id " completed in " sync-time " seconds") |
︙ |
Modified runs.scm from [94d1fbb17e] to [e885f5dfc6].
︙ | |||
670 671 672 673 674 675 676 677 | 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 | + + - - + + | ;; Register tests ;; ((not (hash-table-ref/default test-registry (runs:make-full-test-name test-name item-path) #f)) (debug:print-info 4 "Pre-registering test " test-name "/" item-path " to create placeholder" ) ;; always do firm registration now in v1.60 and greater ;; (eq? *transport-type* 'fs) ;; no point in parallel registration if use fs (rmt:general-call 'register-test run-id run-id test-name item-path) (hash-table-set! test-registry (runs:make-full-test-name test-name item-path) 'done) (if (not (eq? (hash-table-ref/default test-registry (runs:make-full-test-name test-name "") #f) 'done)) (begin |
︙ |
Modified server.scm from [13f9300039] to [f2b9d5f3d9].
︙ | |||
112 113 114 115 116 117 118 | 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 | - + | (pop-directory))) ;; kind start up of servers, wait 40 seconds before allowing another server for a given ;; run-id to be launched (define (server:kind-run run-id) (let ((last-run-time (hash-table-ref/default *server-kind-run* run-id #f))) (if (or (not last-run-time) |
︙ |