| 名称 |
最后提交
|
最后更新 |
|---|---|---|
| .. | ||
| blockstore | ||
| blocksutil | ||
| bloom | ||
| key | ||
| set | ||
| blocks.go | ||
| blocks_test.go |
Why is it failing:
process is started, cancel() is called,
between we satart listening to the channels
in select statemnet there is race of three things
that can happent:
1. Task can complete
2. Task can start closing <- expected
3. Task already closed
This race causes failures of the test.
It is basing heavily on race of conditions where
the task not closing, nor the task is completed
before channels are being listened.
It is quite impossible to resolve without
adding bunch of timings in there, which we
want to avoid, as there is no atomic
"send message on channel and select" in Golang
License: MIT
Signed-off-by:
Jakub Sztandera <kubuxu@protonmail.ch>
| 名称 |
最后提交
|
最后更新 |
|---|---|---|
| .. | ||
| blockstore | 正在载入提交数据... | |
| blocksutil | 正在载入提交数据... | |
| bloom | 正在载入提交数据... | |
| key | 正在载入提交数据... | |
| set | 正在载入提交数据... | |
| blocks.go | 正在载入提交数据... | |
| blocks_test.go | 正在载入提交数据... |