(t *testing.T)
| 78 | t.Errorf("orgID = %q, want acme", e.orgID) |
| 79 | } |
| 80 | if e.props["error_category"] != "system" { |
| 81 | t.Errorf("error_category = %v, want system", e.props["error_category"]) |
| 82 | } |
| 83 | if e.props["error_code"] != "XX000" { |
| 84 | t.Errorf("error_code = %v, want XX000", e.props["error_code"]) |
| 85 | } |
| 86 | if e.props["application_name"] != "dagster" { |
| 87 | t.Errorf("application_name = %v, want dagster", e.props["application_name"]) |
| 88 | } |
| 89 | } |
| 90 | |
| 91 | func TestLogQueryErrorClassifiesUserError(t *testing.T) { |
| 92 | fake := installFakeQueryTracker(t) |
| 93 | c := &clientConn{orgID: "acme", username: "root", ctx: context.Background()} |
| 94 |
nothing calls this directly
no test coverage detected