defradb icon indicating copy to clipboard operation
defradb copied to clipboard

Flaky index test on MacOS - `TestQueryPerformance_Simple`

Open shahzadlone opened this issue 11 months ago • 0 comments

Flaky index test on MacOS - TestQueryPerformance_Simple

Failure Run: https://github.com/sourcenetwork/defradb/actions/runs/8357428702/job/22876554028?pr=2338

Log:

=== Failed
=== FAIL: tests/integration/index TestQueryPerformance_Simple (30.14s)
$time="2024-03-20 10:40:57" $name=tests.integration $level=INFO $msg="" database=badger-in-memory client=go mutationType=collection-save databaseDir="" changeDetector.Enabled=false changeDetector.SetupOnly=false changeDetector.SourceBranch=develop changeDetector.TargetBranch="" changeDetector.Repository=https://github.com/sourcenetwork/defradb.git
bafkreieovkxbmpx4ofdlniojdw5ceearjtus7ftxjuab5sjncdt22wlwwi
bafkreieovkxbmpx4ofdlniojdw5ceearjtus7ftxjuab5sjncdt22wlwwi
bafkreihml25xaa3x7iuuthwsorgq2nzn2mwzay5bqg4mqnzt4jgxhskfm4
    utils2.go:426: 
        	Error Trace:	/Users/runner/work/defradb/defradb/tests/integration/utils2.go:426
        	            				/Users/runner/work/defradb/defradb/tests/integration/utils2.go:331
        	            				/Users/runner/work/defradb/defradb/tests/integration/utils2.go:209
        	            				/Users/runner/work/defradb/defradb/tests/integration/utils2.go:165
        	            				/Users/runner/work/defradb/defradb/tests/integration/index/query_performance_test.go:77
        	Error:      	"1381766270" is not greater than "1.702519743s"
        	Test:       	TestQueryPerformance_Simple
        	Messages:   	Optimized case should be faster at least by factor of 2.00 than the base case. Base: 1702519, Optimized: 2763532 (μs)
$time="2024-03-20 10:41:27" $name=db $level=INFO $msg="Closing DefraDB process..."
$time="2024-03-20 10:41:27" $name=db $level=INFO $msg="Successfully closed running process"

shahzadlone avatar Mar 20 '24 10:03 shahzadlone