Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Fix expected result for the 'tkt-0e48e80333-1.2' test to account for thread timing variations. Also, adjust its timeout to be a bit more reasonable. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
aa5b7a8df5cdcd058360d7d1b6e52e5b |
User & Date: | mistachkin 2017-11-29 02:24:50.513 |
Context
2017-11-30
| ||
12:54 | Update Eagle in externals to the beta 41 release. check-in: 10e4b21f8e user: mistachkin tags: trunk | |
2017-11-29
| ||
02:24 | Fix expected result for the 'tkt-0e48e80333-1.2' test to account for thread timing variations. Also, adjust its timeout to be a bit more reasonable. check-in: aa5b7a8df5 user: mistachkin tags: trunk | |
02:01 | Fix a typo in test 'tkt-0e48e80333-1.1' for ticket [0e48e80333]. check-in: 89c3c8334b user: mistachkin tags: trunk | |
Changes
Changes to Tests/tkt-0e48e80333.eagle.
︙ | ︙ | |||
137 138 139 140 141 142 143 | set id [object invoke Interpreter.GetActive NextId] set dataSource [file join [getDatabaseDirectory] $fileName] set count(1) 1000; # thread work-item count set count(2) 1000; # per-thread query count set count(3) [expr {$count(1) * $count(2)}]; # total query count | | | 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 | set id [object invoke Interpreter.GetActive NextId] set dataSource [file join [getDatabaseDirectory] $fileName] set count(1) 1000; # thread work-item count set count(2) 1000; # per-thread query count set count(3) [expr {$count(1) * $count(2)}]; # total query count set count(4) [expr {0.00002 * $count(3)}]; # timeout in seconds set count(5) 10; # busy loop sleep milliseconds set sql { \ SELECT 1; \ } unset -nocomplain results errors |
︙ | ︙ | |||
271 272 273 274 275 276 277 | -logFile [appendArgs \" [getTestLog] \"] } error] tlog "---- BEGIN STDOUT OUTPUT\n" tlog $output tlog "\n---- END STDOUT OUTPUT\n" | | > > > > > > > > > > | | 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 | -logFile [appendArgs \" [getTestLog] \"] } error] tlog "---- BEGIN STDOUT OUTPUT\n" tlog $output tlog "\n---- END STDOUT OUTPUT\n" set error [string trim $error] if {![regexp -- {0 (\d+)$} $error dummy count]} then { set count <unknown> } tputs $test_channel [appendArgs \ "---- executed a total of " $count " queries\n"] list $code $error } -cleanup { cleanupDb $fileName catch {file delete $scriptFileName} catch {file delete $configFileName} unset -nocomplain dummy count unset -nocomplain code output error scriptFileName configFileName unset -nocomplain db fileName restoreMdaConfigEnvironment restoreEnvironmentVariables [list checkForVendorQuiet] moveEagleShellMdaConfig true } -constraints {eagle command.object monoBug28 command.sql compile.DATA SQLite\ System.Data.SQLite compileCSharp} -match regexp -result {^0 \{Ok\ System#CodeDom#Compiler#CompilerResults#\d+ \{\} 0 \{\} 0 \d+\}$}} ############################################################################### runSQLiteTestEpilogue runTestEpilogue |