ydb-platform / ydb-go-sdk

Pure Go native and database/sql driver for YDB
https://ydb.tech
Apache License 2.0
142 stars 76 forks source link

bug: flaky TestWriterImpl_WaitInit #839

Open asmyasnikov opened 1 year ago

asmyasnikov commented 1 year ago

https://github.com/ydb-platform/ydb-go-sdk/actions/runs/6303252870/job/17112128612#step:4:66

--- FAIL: TestWriterImpl_WaitInit (0.01s)
[66](https://github.com/ydb-platform/ydb-go-sdk/actions/runs/6303252870/job/17112128612#step:4:67)
    --- FAIL: TestWriterImpl_WaitInit/contextDeadlineErrorInProgress (0.00s)
[67](https://github.com/ydb-platform/ydb-go-sdk/actions/runs/6303252870/job/17112128612#step:4:68)
        writer_reconnector_test.go:370: 
[68](https://github.com/ydb-platform/ydb-go-sdk/actions/runs/6303252870/job/17112128612#step:4:69)
                Error Trace:    writer_reconnector_test.go:370
[69](https://github.com/ydb-platform/ydb-go-sdk/actions/runs/6303252870/job/17112128612#step:4:70)
                Error:          Should be true
[70](https://github.com/ydb-platform/ydb-go-sdk/actions/runs/6303252870/job/17112128612#step:4:71)
                Test:           TestWriterImpl_WaitInit/contextDeadlineErrorInProgress
[71](https://github.com/ydb-platform/ydb-go-sdk/actions/runs/6303252870/job/17112128612#step:4:72)
FAIL
asmyasnikov commented 1 year ago

Repro https://github.com/ydb-platform/ydb-go-sdk/actions/runs/6407467664/job/17394316697#step:4:69

--- FAIL: TestWriterImpl_WaitInit/contextDeadlineErrorInProgress (0.00s)
        writer_reconnector_test.go:3[70](https://github.com/ydb-platform/ydb-go-sdk/actions/runs/6407467664/job/17394316697#step:4:71): 
                Error Trace:    writer_reconnector_test.go:370
                Error:          Should be true
                Test:           TestWriterImpl_WaitInit/contextDeadlineErrorInProgress