Skip to content

Commit 4692ca7

Browse files
committed
REvert parallel tests
1 parent af16542 commit 4692ca7

File tree

3 files changed

+0
-6
lines changed

3 files changed

+0
-6
lines changed

cmd/access_test.go

-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import (
1010
)
1111

1212
func TestCLI_Access_Show(t *testing.T) {
13-
t.Parallel()
1413
s, conf, port := newTestServerWithAuth(t)
1514
defer test.StopServer(t, s, port)
1615

@@ -20,7 +19,6 @@ func TestCLI_Access_Show(t *testing.T) {
2019
}
2120

2221
func TestCLI_Access_Grant_And_Publish(t *testing.T) {
23-
t.Parallel()
2422
s, conf, port := newTestServerWithAuth(t)
2523
defer test.StopServer(t, s, port)
2624

cmd/config_loader_test.go

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import (
88
)
99

1010
func TestNewYamlSourceFromFile(t *testing.T) {
11-
t.Parallel()
1211
filename := filepath.Join(t.TempDir(), "server.yml")
1312
contents := `
1413
# Normal options

cmd/publish_test.go

-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ import (
1717
)
1818

1919
func TestCLI_Publish_Subscribe_Poll_Real_Server(t *testing.T) {
20-
t.Parallel()
2120
testMessage := util.RandomString(10)
2221
app, _, _, _ := newTestApp()
2322
require.Nil(t, app.Run([]string{"ntfy", "publish", "ntfytest", "ntfy unit test " + testMessage}))
@@ -36,7 +35,6 @@ func TestCLI_Publish_Subscribe_Poll_Real_Server(t *testing.T) {
3635
}
3736

3837
func TestCLI_Publish_Subscribe_Poll(t *testing.T) {
39-
t.Parallel()
4038
s, port := test.StartServer(t)
4139
defer test.StopServer(t, s, port)
4240
topic := fmt.Sprintf("http://127.0.0.1:%d/mytopic", port)
@@ -53,7 +51,6 @@ func TestCLI_Publish_Subscribe_Poll(t *testing.T) {
5351
}
5452

5553
func TestCLI_Publish_All_The_Things(t *testing.T) {
56-
t.Parallel()
5754
s, port := test.StartServer(t)
5855
defer test.StopServer(t, s, port)
5956
topic := fmt.Sprintf("http://127.0.0.1:%d/mytopic", port)

0 commit comments

Comments
 (0)