| 1 | Description: Skip unit tests that require an active MySQL instance. |
| 2 | Author: Lena Voytek <[email protected]> |
| 3 | Forwarded: not-needed |
| 4 | Last-Update: 2026-02-22 |
| 5 | --- |
| 6 | This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ |
| 7 | --- a/dsn/dsn_test.go |
| 8 | +++ b/dsn/dsn_test.go |
| 9 | @@ -61,6 +61,7 @@ |
| 10 | } |
| 11 | |
| 12 | func TestDefaults(t *testing.T) { |
| 13 | + t.Skip("Requires active MySQL instance.") |
| 14 | originalPath := os.Getenv("PATH") |
| 15 | |
| 16 | // Since we cannot install different versions of my_print_defaults, we are going |
| 17 | @@ -89,6 +90,7 @@ |
| 18 | } |
| 19 | |
| 20 | func TestGetSocketFromProcessLists(t *testing.T) { |
| 21 | + t.Skip("Requires active MySQL instance.") |
| 22 | var err error |
| 23 | var socket string |
| 24 | dsn := DSN{} |