• Juan Batiz-Benet's avatar
    dht: fix TestLayeredGet · 476ea427
    Juan Batiz-Benet authored
    The test was occasionally passing because:
    - it called `putLocal(key, val)`
    - GetValue calls `getLocal(key)` optimistically.
    
    cc @whyrusleeping
    476ea427
dht_test.go 14.7 KB