Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
github.com/eMxyzptlk/beegae-example test result
$ make test
goapp test github.com/eMxyzptlk/beegae-example/...
? github.com/eMxyzptlk/beegae-example/appengine [no test files]
? github.com/eMxyzptlk/beegae-example/controllers [no test files]
? github.com/eMxyzptlk/beegae-example/routers [no test files]
2014/08/17 01:05:15 appengine: not running under devappserver2; using some default configuration
2014/08/17 01:05:15 appengine: NewContext passed an unknown http.Request
2014/08/17 01:05:15 [C] the request url is /
2014/08/17 01:05:15 [C] Handler crashed with error appengine: NewContext passed an unknown http.Request
2014/08/17 01:05:15 [C] /tmp/appengine/go_appengine/goroot/src/pkg/runtime/panic.c 248
2014/08/17 01:05:15 [C] /tmp/appengine/go_appengine/goroot/src/pkg/log/log.go 307
2014/08/17 01:05:15 [C] /tmp/appengine/go_appengine/goroot/src/pkg/appengine_internal/api_dev.go 243
2014/08/17 01:05:15 [C] /tmp/appengine/go_appengine/goroot/src/pkg/appengine/appengine.go 55
2014/08/17 01:05:15 [C] /home/wmn/go/src/github.com/astaxie/beegae/session/session.go 128
2014/08/17 01:05:15 [C] /home/wmn/go/src/github.com/astaxie/beegae/router.go 572
2014/08/17 01:05:15 [C] /home/wmn/go/src/github.com/eMxyzptlk/beegae-example/tests/default_test.go 26
2014/08/17 01:05:15 [C] /tmp/appengine/go_appengine/goroot/src/pkg/testing/testing.go 391
2014/08/17 01:05:15 [C] /tmp/appengine/go_appengine/goroot/src/pkg/runtime/proc.c 1394
x.
Failures:
* /home/wmn/go/src/github.com/eMxyzptlk/beegae-example/tests/default_test.go
Line 32:
Expected: '200'
Actual: '500'
(Should be equal)
2 assertions thus far
2014/08/17 01:05:15 [T] testing TestMain Code[%d]
%s 500
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>beego application error</title>
<style>
html, body, body * {padding: 0; margin: 0;}
#header {background:#ffd; border-bottom:solid 2px #A31515; padding: 20px 10px;}
#header h2{ }
#footer {border-top:solid 1px #aaa; padding: 5px 10px; font-size: 12px; color:green;}
#content {padding: 5px;}
#content .stack b{ font-size: 13px; color: red;}
#content .stack pre{padding-left: 10px;}
table {}
td.t {text-align: right; padding-right: 5px; color: #888;}
</style>
<script type="text/javascript">
</script>
</head>
<body>
<div id="header">
<h2>beegae-example:appengine: NewContext passed an unknown http.Request</h2>
</div>
<div id="content">
<table>
<tr>
<td class="t">Request Method: </td><td>GET</td>
</tr>
<tr>
<td class="t">Request URL: </td><td></td>
</tr>
<tr>
<td class="t">RemoteAddr: </td><td></td>
</tr>
</table>
<div class="stack">
<b>Stack</b>
<pre>/tmp/appengine/go_appengine/goroot/src/pkg/runtime/panic.c 248
/tmp/appengine/go_appengine/goroot/src/pkg/log/log.go 307
/tmp/appengine/go_appengine/goroot/src/pkg/appengine_internal/api_dev.go 243
/tmp/appengine/go_appengine/goroot/src/pkg/appengine/appengine.go 55
/home/wmn/go/src/github.com/astaxie/beegae/session/session.go 128
/home/wmn/go/src/github.com/astaxie/beegae/router.go 572
/home/wmn/go/src/github.com/eMxyzptlk/beegae-example/tests/default_test.go 26
/tmp/appengine/go_appengine/goroot/src/pkg/testing/testing.go 391
/tmp/appengine/go_appengine/goroot/src/pkg/runtime/proc.c 1394
</pre>
</div>
</div>
<div id="footer">
<p>beego 1.3.1 (beego framework)</p>
<p>golang version: go1.2.1 (appengine-1.9.9)</p>
</div>
</body>
</html>
--- FAIL: TestMain (0.00 seconds)
FAIL
FAIL github.com/eMxyzptlk/beegae-example/tests 0.039s
make: *** [go_tests] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment