Commit 09b7457a authored by ngaut's avatar ngaut

orm_test: Skip relation test

parent c841a77a
...@@ -26,8 +26,6 @@ import ( ...@@ -26,8 +26,6 @@ import (
"strings" "strings"
"testing" "testing"
"time" "time"
"github.com/juju/errors"
) )
var _ = os.PathSeparator var _ = os.PathSeparator
...@@ -135,7 +133,6 @@ func throwFail(t *testing.T, err error, args ...interface{}) { ...@@ -135,7 +133,6 @@ func throwFail(t *testing.T, err error, args ...interface{}) {
} }
con += " " + strings.Join(parts, ", ") con += " " + strings.Join(parts, ", ")
} }
t.Error(errors.ErrorStack(err))
t.Error(con) t.Error(con)
t.Fail() t.Fail()
} }
...@@ -175,7 +172,7 @@ func TestSyncDb(t *testing.T) { ...@@ -175,7 +172,7 @@ func TestSyncDb(t *testing.T) {
RegisterModel(new(UserBig)) RegisterModel(new(UserBig))
RegisterModel(new(PostTags)) RegisterModel(new(PostTags))
err := RunSyncdb("default", true, true) err := RunSyncdb("default", true, false)
throwFail(t, err) throwFail(t, err)
modelCache.clean() modelCache.clean()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment