Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
caddy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Łukasz Nowak
caddy
Commits
340a53fb
Commit
340a53fb
authored
May 05, 2015
by
Matthew Holt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disabling fcgiclient tests until they can be rewritten
parent
69eb5cdd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
config/setup/controller_test.go
config/setup/controller_test.go
+1
-1
middleware/fastcgi/fcgiclient_test.go
middleware/fastcgi/fcgiclient_test.go
+7
-1
No files found.
config/setup/controller_test.go
View file @
340a53fb
...
@@ -10,7 +10,7 @@ import (
...
@@ -10,7 +10,7 @@ import (
// newTestController creates a new *Controller for
// newTestController creates a new *Controller for
// the input specified, with a filename of "Testfile"
// the input specified, with a filename of "Testfile"
func
newTestController
(
input
string
)
*
Controller
{
func
newTestController
(
input
string
)
*
Controller
{
return
Controller
{
return
&
Controller
{
Config
:
&
server
.
Config
{},
Config
:
&
server
.
Config
{},
Dispenser
:
parse
.
NewDispenser
(
"Testfile"
,
strings
.
NewReader
(
input
)),
Dispenser
:
parse
.
NewDispenser
(
"Testfile"
,
strings
.
NewReader
(
input
)),
}
}
...
...
middleware/fastcgi/fcgiclient_test.go
View file @
340a53fb
// NOTE: These tests were adapted from the original
// repository from which this package was forked.
// The tests are slow (~10s) and in dire need of rewriting.
// As such, the tests have been disabled to speed up
// automated builds until they can be properly written.
package
fastcgi
package
fastcgi
import
(
import
(
...
@@ -185,7 +191,7 @@ func generateRandFile(size int) (p string, m string) {
...
@@ -185,7 +191,7 @@ func generateRandFile(size int) (p string, m string) {
return
return
}
}
func
Test
(
t
*
testing
.
T
)
{
func
Disabled_
Test
(
t
*
testing
.
T
)
{
// TODO: test chunked reader
// TODO: test chunked reader
t_
=
t
t_
=
t
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment