Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Remove current bug comments as they are fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrianto Lie committed Mar 6, 2019
1 parent 5e3ed75 commit c237422
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions tests/nodeos_irreversible_mode_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,6 @@ def executeTest(nodeIdOfNodeToTest, runTestScenario):

# 1st test case: Replay in irreversible mode with reversible blks
# Expectation: Node replays and launches successfully and forkdb head, head, and lib matches the irreversible mode expectation
# Current Bug: duplicate blk added error
def replayInIrrModeWithRevBlks(nodeIdOfNodeToTest, nodeToTest):
# Track head blk num and lib before shutdown
headLibAndForkDbHeadBeforeSwitchMode = getHeadLibAndForkDbHead(nodeToTest)
Expand All @@ -223,7 +222,6 @@ def replayInIrrModeWithRevBlks(nodeIdOfNodeToTest, nodeToTest):

# 2nd test case: Replay in irreversible mode without reversible blks
# Expectation: Node replays and launches successfully and forkdb head, head, and lib matches the irreversible mode expectation
# Current Bug: lib != libBeforeSwitchMode
def replayInIrrModeWithoutRevBlks(nodeIdOfNodeToTest, nodeToTest):
# Track head blk num and lib before shutdown
headLibAndForkDbHeadBeforeSwitchMode = getHeadLibAndForkDbHead(nodeToTest)
Expand All @@ -238,7 +236,6 @@ def replayInIrrModeWithoutRevBlks(nodeIdOfNodeToTest, nodeToTest):

# 3rd test case: Switch mode speculative -> irreversible without replay
# Expectation: Node switches mode successfully and forkdb head, head, and lib matches the irreversible mode expectation
# Current Bug: head != lib
def switchSpecToIrrMode(nodeIdOfNodeToTest, nodeToTest):
# Track head blk num and lib before shutdown
headLibAndForkDbHeadBeforeSwitchMode = getHeadLibAndForkDbHead(nodeToTest)
Expand All @@ -252,7 +249,6 @@ def switchSpecToIrrMode(nodeIdOfNodeToTest, nodeToTest):

# 4th test case: Switch mode irreversible -> speculative without replay
# Expectation: Node switches mode successfully and forkdb head, head, and lib matches the speculative mode expectation
# Current Bug: head != forkDbHead and head != forkDbHeadBeforeSwitchMode and lib != libBeforeSwitchMode
def switchIrrToSpecMode(nodeIdOfNodeToTest, nodeToTest):
# Track head blk num and lib before shutdown
headLibAndForkDbHeadBeforeSwitchMode = getHeadLibAndForkDbHead(nodeToTest)
Expand All @@ -268,7 +264,6 @@ def switchIrrToSpecMode(nodeIdOfNodeToTest, nodeToTest):
# Expectation: Node switches mode successfully
# and the head and lib should be advancing after some blocks produced
# and forkdb head, head, and lib matches the irreversible mode expectation
# Current Bug: Fail to switch to irreversible mode, blk_validate_exception next blk in the future will be thrown
def switchSpecToIrrModeWithConnectedToProdNode(nodeIdOfNodeToTest, nodeToTest):
try:
startProdNode()
Expand All @@ -288,7 +283,6 @@ def switchSpecToIrrModeWithConnectedToProdNode(nodeIdOfNodeToTest, nodeToTest):
# Expectation: Node switches mode successfully
# and the head and lib should be advancing after some blocks produced
# and forkdb head, head, and lib matches the speculative mode expectation
# Current Bug: Node switches mode successfully, however, it fails to establish connection with the producing node
def switchIrrToSpecModeWithConnectedToProdNode(nodeIdOfNodeToTest, nodeToTest):
try:
startProdNode()
Expand All @@ -308,7 +302,6 @@ def switchIrrToSpecModeWithConnectedToProdNode(nodeIdOfNodeToTest, nodeToTest):
# Expectation: Node replays and launches successfully
# and the head and lib should be advancing after some blocks produced
# and forkdb head, head, and lib matches the irreversible mode expectation
# Current Bug: duplicate blk added error
def replayInIrrModeWithRevBlksAndConnectedToProdNode(nodeIdOfNodeToTest, nodeToTest):
try:
startProdNode()
Expand All @@ -327,7 +320,6 @@ def replayInIrrModeWithRevBlksAndConnectedToProdNode(nodeIdOfNodeToTest, nodeToT
# Expectation: Node replays and launches successfully
# and the head and lib should be advancing after some blocks produced
# and forkdb head, head, and lib matches the irreversible mode expectation
# Current Bug: Nothing
def replayInIrrModeWithoutRevBlksAndConnectedToProdNode(nodeIdOfNodeToTest, nodeToTest):
try:
startProdNode()
Expand All @@ -348,7 +340,6 @@ def replayInIrrModeWithoutRevBlksAndConnectedToProdNode(nodeIdOfNodeToTest, node
# Expectation: Node replays and launches successfully
# and the head and lib should be advancing after some blocks produced
# and forkdb head, head, and lib should stay the same after relaunch
# Current Bug: Nothing
def switchToSpecModeWithIrrModeSnapshot(nodeIdOfNodeToTest, nodeToTest):
try:
# Kill node and backup blocks directory of speculative mode
Expand Down

0 comments on commit c237422

Please sign in to comment.