mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-02-25 10:25:32 +00:00
Disable mixed usage of cliBuilder to fix incorrect test failure reporting (#836)
This commit is contained in:
parent
e23300e2cc
commit
1afdfdf2ff
@ -5,8 +5,6 @@
|
|||||||
# * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
|
# * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
|
||||||
# at your option. This file may not be copied, modified, or distributed except according to those terms.
|
# at your option. This file may not be copied, modified, or distributed except according to those terms.
|
||||||
|
|
||||||
import ../../test_macro
|
|
||||||
|
|
||||||
{. warning[UnusedImport]:off .}
|
{. warning[UnusedImport]:off .}
|
||||||
|
|
||||||
import
|
import
|
||||||
@ -14,8 +12,5 @@ import
|
|||||||
./test_portal,
|
./test_portal,
|
||||||
./test_content_network,
|
./test_content_network,
|
||||||
./test_discovery_rpc,
|
./test_discovery_rpc,
|
||||||
./test_custom_distance
|
./test_custom_distance,
|
||||||
|
|
||||||
cliBuilder:
|
|
||||||
import
|
|
||||||
./test_bridge_parser
|
./test_bridge_parser
|
||||||
|
@ -8,11 +8,10 @@
|
|||||||
{.used.}
|
{.used.}
|
||||||
|
|
||||||
import
|
import
|
||||||
std/[unittest, sequtils],
|
std/sequtils,
|
||||||
stint,
|
stint, unittest2,
|
||||||
../network/state/custom_distance
|
../network/state/custom_distance
|
||||||
|
|
||||||
|
|
||||||
suite "State network custom distance function":
|
suite "State network custom distance function":
|
||||||
test "Calculate distance according to spec":
|
test "Calculate distance according to spec":
|
||||||
check:
|
check:
|
||||||
@ -56,4 +55,3 @@ suite "State network custom distance function":
|
|||||||
|
|
||||||
check:
|
check:
|
||||||
logDistances == logCalculated
|
logDistances == logCalculated
|
||||||
|
|
||||||
|
@ -8,8 +8,7 @@
|
|||||||
{.used.}
|
{.used.}
|
||||||
|
|
||||||
import
|
import
|
||||||
std/unittest,
|
unittest2, stint, stew/[byteutils, results], eth/p2p/discoveryv5/enr,
|
||||||
stint, stew/[byteutils, results], eth/p2p/discoveryv5/enr,
|
|
||||||
../network/state/messages
|
../network/state/messages
|
||||||
|
|
||||||
suite "Portal Protocol Message Encodings":
|
suite "Portal Protocol Message Encodings":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user