@@ -17,8 +17,6 @@ import (
1717)
1818
1919func TestBasicSubmit (t * testing.T ) {
20- t .Parallel ()
21-
2220 serv := initServ (filedrop .Default )
2321 ts := httptest .NewServer (serv )
2422 defer cleanServ (serv )
@@ -41,8 +39,6 @@ func TestBasicSubmit(t *testing.T) {
4139}
4240
4341func TestFakeFilename (t * testing.T ) {
44- t .Parallel ()
45-
4642 conf := filedrop .Default
4743 serv := initServ (conf )
4844 ts := httptest .NewServer (serv )
@@ -62,8 +58,6 @@ func TestFakeFilename(t *testing.T) {
6258}
6359
6460func TestNonExistent (t * testing.T ) {
65- t .Parallel ()
66-
6761 // Non-existent file should correctly return 404 code.
6862 serv := initServ (filedrop .Default )
6963 ts := httptest .NewServer (serv )
@@ -97,8 +91,6 @@ func TestNonExistent(t *testing.T) {
9791}
9892
9993func TestContentTypePreserved (t * testing.T ) {
100- t .Parallel ()
101-
10294 serv := initServ (filedrop .Default )
10395 ts := httptest .NewServer (serv )
10496 defer cleanServ (serv )
@@ -134,8 +126,6 @@ func TestContentTypePreserved(t *testing.T) {
134126}
135127
136128func TestNoContentType (t * testing.T ) {
137- t .Parallel ()
138-
139129 serv := initServ (filedrop .Default )
140130 ts := httptest .NewServer (serv )
141131 defer cleanServ (serv )
@@ -166,8 +156,6 @@ func TestNoContentType(t *testing.T) {
166156}
167157
168158func TestHTTPSDownstream (t * testing.T ) {
169- t .Parallel ()
170-
171159 serv := initServ (filedrop .Default )
172160 ts := httptest .NewServer (serv )
173161 defer cleanServ (serv )
@@ -255,8 +243,6 @@ func testWithPrefix(t *testing.T, ts *httptest.Server, c *http.Client, prefix st
255243}
256244
257245func TestPrefixAgnostic (t * testing.T ) {
258- t .Parallel ()
259-
260246 // Server should be able to handle requests independently
261247 // from full URL.
262248 serv := initServ (filedrop .Default )
@@ -271,9 +257,6 @@ func TestPrefixAgnostic(t *testing.T) {
271257}
272258
273259func TestCleanup (t * testing.T ) {
274- // FIXME: For some reason this test breaks when parallelized.
275- //t.Parallel()
276-
277260 conf := filedrop .Default
278261 conf .CleanupIntervalSecs = 1
279262 serv := initServ (conf )
0 commit comments