Skip to content

Fix cluster tests#732

Merged
bas-io merged 2 commits intodevelopfrom
fix/cluster-tests
Nov 16, 2025
Merged

Fix cluster tests#732
bas-io merged 2 commits intodevelopfrom
fix/cluster-tests

Conversation

@bas-io
Copy link
Collaborator

@bas-io bas-io commented Sep 26, 2025

No description provided.

@howjmay
Copy link
Member

howjmay commented Nov 11, 2025

Maybe we need to squash the commits, some of the naming are not very proper

@bas-io
Copy link
Collaborator Author

bas-io commented Nov 11, 2025

Maybe we need to squash the commits, some of the naming are not very proper

sure. will do

e.testAccounts()
}

func TestBasicAccountsNLow(t *testing.T) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May I ask the reason to remove this one?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed that with previous implementation there was significant amound of overlap in what cluster tests are testing. Simple deposit/withdrawal was tested multiple times with all kinds of configurations (1 node, 2 nodes, 3 nodes and so on). I tried to simplify it so that tests in overall run faster, increase granularity of tests and give descriptive names.
For this particular case I renamed it to testOffLedgerDepositWithdrawTransfer so that it's more descriptive and I only test default cluster configuration. I think I raised this question on a meeting before questioning the purpose of running some test for N=1, N=2, etc, I mean if we just test default (4 nodes) configuration it should cover all cases

@bas-io bas-io merged commit b30e7b6 into develop Nov 16, 2025
4 of 6 checks passed
@bas-io bas-io deleted the fix/cluster-tests branch November 16, 2025 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants