# go_tests

go_file: raft_test.go
go_test: TestNRGSimple
dotnet_file: tests/NATS.Server.Tests/Raft/RaftGoParityTests.cs
status: mapped
notes: Track B RAFT parity
dotnet_test:
Single_node_becomes_leader_on_election,Three_node_cluster_elects_single_leader,Term_increments_on_each_election,Leader_propose_adds_entry_to_log,Followers_receive_replicated_entries,Commit_index_advances_after_quorum_replication,Sequential_proposals_use_monotonically_increasing_indices


go_file: raft_test.go
go_test: TestNRGSnapshotAndRestart
dotnet_file: tests/NATS.Server.Tests/Raft/RaftGoParityTests.cs
status: mapped
notes: Track B RAFT parity
dotnet_test:
Snapshot_creation_records_applied_index_and_term,Installing_snapshot_updates_applied_index_on_follower,Log_is_cleared_when_snapshot_is_installed


go_file: raft_test.go
go_test: TestNRGRecoverFromFollowingNoLeader
dotnet_file: tests/NATS.Server.Tests/Raft/RaftGoParityTests.cs
status: mapped
notes: Track B RAFT parity
dotnet_test:
Higher_term_heartbeat_causes_candidate_to_become_follower,Leader_steps_down_on_higher_term_heartbeat,Stale_heartbeat_is_ignored


go_file: raft_test.go
go_test: TestNRGSimpleElection
dotnet_file: tests/NATS.Server.Tests/Raft/RaftGoParityTests.cs
status: mapped
notes: Track B RAFT parity
dotnet_test:
Five_node_cluster_elects_leader_with_three_vote_quorum,Candidate_records_self_vote_on_start,Majority_vote_wins_three_node_election


go_file: raft_test.go
go_test: TestNRGHealthCheckWaitForCatchup
dotnet_file: tests/NATS.Server.Tests/Raft/RaftGoParityTests.cs
status: mapped
notes: Track B RAFT parity
dotnet_test:
Peer_state_last_contact_updated_when_peer_responds,Peer_match_index_updates_after_successful_replication


go_file: raft_test.go
go_test: TestNRGInitSingleMemRaftNodeDefaults
dotnet_file: tests/NATS.Server.Tests/Raft/RaftGoParityTests.cs
status: mapped
notes: Track B RAFT parity
dotnet_test:
New_node_has_zero_term_and_follower_role,New_node_contains_itself_as_initial_member,New_node_has_empty_log


go_file: reload_test.go
go_test: TestConfigReloadRotateTLS
dotnet_file: tests/NATS.Server.Tests/Configuration/TlsReloadTests.cs
status: mapped
notes: E9: TLS cert hot reload — cert provider swap, config diff detection
dotnet_test:
TlsReloadTests.ConfigDiff_DetectsTlsChanges,TlsReloadTests.ReloadTlsCertificate_WithCertFiles_SwapsCertAndSslOptions


