From d8329bd28b0f0923ac0080a2dbf7c22d3bd4bbd2 Mon Sep 17 00:00:00 2001 From: Jianping Wu Date: Mon, 1 Apr 2019 21:38:47 -0700 Subject: [PATCH] Fixed keva functional test case. --- test/functional/feature_keva.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/test/functional/feature_keva.py b/test/functional/feature_keva.py index f60c71af8..c893d53c0 100755 --- a/test/functional/feature_keva.py +++ b/test/functional/feature_keva.py @@ -63,16 +63,6 @@ class KevaTest(BitcoinTestFramework): self.sync_all() response = self.nodes[0].keva_get(namespaceId, key) assert(response['value'] == value1) - # Disconnect the block again - self.sync_all() - tip = self.nodes[0].getbestblockhash() - self.nodes[0].invalidateblock(tip) - self.nodes[1].invalidateblock(tip) - self.sync_all() - response = self.nodes[0].keva_get(namespaceId, key) - assert(response['value'] == '') - response = self.nodes[0].keva_get(namespaceId, '_KEVA_NS_') - assert(response['value'] == displayName) self.log.info("Test undeleting after disconnecting blocks") self.nodes[0].generate(1)