Skip to content

Commit

Permalink
reacreatestate_rpc_test: don't prefix subtest with testcase name
Browse files Browse the repository at this point in the history
  • Loading branch information
magicxyyz committed Oct 8, 2024
1 parent 3f66145 commit d48f24a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions system_tests/recreatestate_rpc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ func TestSkippingSavingStateAndRecreatingAfterRestart(t *testing.T) {
cacheConfig.BlockAge = 0 // use only Caching.BlockCount to keep only last N blocks in dirties cache, no matter how new they are

runTestCase := func(t *testing.T, cacheConfig gethexec.CachingConfig, txes int) {
t.Run(fmt.Sprintf("TestSkippingSavingStateAndRecreatingAfterRestart-skip-blocks-%d-skip-gas-%d-txes-%d", cacheConfig.MaxNumberOfBlocksToSkipStateSaving, cacheConfig.MaxAmountOfGasToSkipStateSaving, txes), func(t *testing.T) {
t.Run(fmt.Sprintf("skip-blocks-%d-skip-gas-%d-txes-%d", cacheConfig.MaxNumberOfBlocksToSkipStateSaving, cacheConfig.MaxAmountOfGasToSkipStateSaving, txes), func(t *testing.T) {
testSkippingSavingStateAndRecreatingAfterRestart(t, &cacheConfig, txes)
})
}
Expand Down Expand Up @@ -553,7 +553,7 @@ func TestGettingState(t *testing.T) {
execConfig.Caching.BlockAge = 0 // use only Caching.BlockCount to keep only last N blocks in dirties cache, no matter how new they are
execConfig.Sequencer.MaxBlockSpeed = 0
execConfig.Sequencer.MaxTxDataSize = 150 // 1 test tx ~= 110
t.Run("TestGettingStateForRPCFullNode", func(t *testing.T) {
t.Run("full-node", func(t *testing.T) {
testGettingState(t, execConfig)
})

Expand All @@ -567,7 +567,7 @@ func TestGettingState(t *testing.T) {
execConfig.Caching.BlockAge = 0 // use only Caching.BlockCount to keep only last N blocks in dirties cache, no matter how new they are
execConfig.Sequencer.MaxBlockSpeed = 0
execConfig.Sequencer.MaxTxDataSize = 150 // 1 test tx ~= 110
t.Run("TestGettingStateForRPCSparseArchiveNode", func(t *testing.T) {
t.Run("archive-node", func(t *testing.T) {
testGettingState(t, execConfig)
})
}
Expand Down

0 comments on commit d48f24a

Please sign in to comment.