Skip to content

Commit 5bcfb83

Browse files
stympycursoragentjoshuap
authored
chore: fix e2e tests and don't cache in CI (#4)
Co-authored-by: ben <ben@honeybadger.io> Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Joshua Wood <josh@joshuawood.net>
1 parent e0f9b55 commit 5bcfb83

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ jobs:
3434
${{ runner.os }}-go-
3535
3636
- name: Run tests
37-
run: go test -v ./...
37+
run: go test -count=1 -v ./...

e2e/e2e_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ func TestListTools(t *testing.T) {
3434
t.Fatalf("Failed to list tools: %v", err)
3535
}
3636

37-
expectedToolCount := 12 // create_project, delete_project, get_fault, get_project, get_project_integrations, get_project_occurrence_counts, get_project_report, list_fault_affected_users, list_fault_notices, list_faults, list_projects, update_project
37+
expectedToolCount := 13 // create_project, delete_project, get_fault, get_fault_counts, get_project, get_project_integrations, get_project_occurrence_counts, get_project_report, list_fault_affected_users, list_fault_notices, list_faults, list_projects, update_project
3838
if len(tools) != expectedToolCount {
3939
t.Errorf("Expected %d tools, got %d", expectedToolCount, len(tools))
4040
}
@@ -57,7 +57,7 @@ func TestListTools(t *testing.T) {
5757
}
5858

5959
// Verify all expected tools are present
60-
expectedTools := []string{"create_project", "delete_project", "get_fault", "get_project", "get_project_integrations", "get_project_occurrence_counts", "get_project_report", "list_fault_affected_users", "list_fault_notices", "list_faults", "list_projects", "update_project"}
60+
expectedTools := []string{"create_project", "delete_project", "get_fault", "get_fault_counts", "get_project", "get_project_integrations", "get_project_occurrence_counts", "get_project_report", "list_fault_affected_users", "list_fault_notices", "list_faults", "list_projects", "update_project"}
6161
for _, expectedTool := range expectedTools {
6262
found := false
6363
for _, foundTool := range foundTools {

0 commit comments

Comments
 (0)