• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

gatewayd-io / gatewayd / 13359500146

16 Feb 2025 10:41PM UTC coverage: 61.405% (-1.5%) from 62.872%
13359500146

Pull #661

github

sinadarbouy
test(raft): Add comprehensive LeaveCluster test suite

Implement thorough test cases for LeaveCluster method covering:
- Single node cluster
- Follower leaving multi-node cluster
- Leader leaving multi-node cluster
- Handling nil node scenarios
- Verifying cluster state after node departure

Enhance test coverage for Raft cluster management and node removal logic.
Pull Request #661: Add Raft cluster peer management (GetPeers, AddPeer, RemovePeer)

565 of 1148 new or added lines in 13 files covered. (49.22%)

5 existing lines in 3 files now uncovered.

5742 of 9351 relevant lines covered (61.41%)

16.4 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/plugin/embed_plugin_template.go
1
//go:build embed_plugin_template
2

3
package plugin
4

5
import "embed"
6

7
//go:embed .template/* .template/project/*/.*
8
var pluginTemplate embed.FS
9
var pluginTemplateRootDir = ".template"
10

11
func IsPluginTemplateEmbedded() bool {
×
12
        return true
×
13
}
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc