mirror of
https://github.com/caddyserver/caddy.git
synced 2024-11-23 08:23:51 +08:00
Disabling fcgiclient tests until they can be rewritten
This commit is contained in:
parent
69eb5cdd8e
commit
340a53fb80
|
@ -10,7 +10,7 @@ import (
|
|||
// newTestController creates a new *Controller for
|
||||
// the input specified, with a filename of "Testfile"
|
||||
func newTestController(input string) *Controller {
|
||||
return Controller{
|
||||
return &Controller{
|
||||
Config: &server.Config{},
|
||||
Dispenser: parse.NewDispenser("Testfile", strings.NewReader(input)),
|
||||
}
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
// 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
|
||||
|
||||
import (
|
||||
|
@ -185,7 +191,7 @@ func generateRandFile(size int) (p string, m string) {
|
|||
return
|
||||
}
|
||||
|
||||
func Test(t *testing.T) {
|
||||
func Disabled_Test(t *testing.T) {
|
||||
// TODO: test chunked reader
|
||||
|
||||
t_ = t
|
||||
|
|
Loading…
Reference in New Issue
Block a user