kubo/blocks
Jakub Sztandera 5a08e9e08a Remove failing blockstore test with context
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>
2016-06-15 21:06:34 +02:00
..
blockstore Remove failing blockstore test with context 2016-06-15 21:06:34 +02:00
blocksutil Make blocks.Block an interface. 2016-05-05 18:02:11 -04:00
bloom Migrate hamming to gx from Godeps 2016-05-19 06:45:19 +02:00
key Import go-datastore to gx 2016-06-12 08:47:15 +02:00
set Update go-log 2016-06-09 23:37:09 +02:00
blocks_test.go removed error from return type of blocks.NewBlock() 2014-10-07 20:46:01 +00:00
blocks.go Rename blocks.RawBlock to blocks.BasicBlock. 2016-06-01 17:14:16 -04:00