Commit 04914fc4 authored by Ivar Derksen's avatar Ivar Derksen Committed by Sietse Ringers
Browse files

Signature log test re-enabled due to bolthold fix

parent ff8dd34a
...@@ -372,11 +372,11 @@ ...@@ -372,11 +372,11 @@
[[projects]] [[projects]]
branch = "master" branch = "master"
digest = "1:76af7360558e8354ace5de92cf5888dfdfdc960638a4604dc8eccc4db01839a8" digest = "1:fd5705ffb618d324b4dac34e75907a32c7e1635e0e6988edbe304d06eea04d8b"
name = "github.com/timshannon/bolthold" name = "github.com/timshannon/bolthold"
packages = ["."] packages = ["."]
pruneopts = "UT" pruneopts = "UT"
revision = "eed35b7556710c9108bd536193dae1ecb91f16fa" revision = "a85bcc049a2edd8d12f9b3a5944fd72299959d19"
[[projects]] [[projects]]
digest = "1:39a425f98fb19427061a693fe6bf0683c9bddec4b25b17067e34fdb465e39cb9" digest = "1:39a425f98fb19427061a693fe6bf0683c9bddec4b25b17067e34fdb465e39cb9"
...@@ -488,6 +488,7 @@ ...@@ -488,6 +488,7 @@
"github.com/stretchr/testify/require", "github.com/stretchr/testify/require",
"github.com/timshannon/bolthold", "github.com/timshannon/bolthold",
"github.com/x-cray/logrus-prefixed-formatter", "github.com/x-cray/logrus-prefixed-formatter",
"go.etcd.io/bbolt",
"gopkg.in/antage/eventsource.v1", "gopkg.in/antage/eventsource.v1",
] ]
solver-name = "gps-cdcl" solver-name = "gps-cdcl"
......
...@@ -59,10 +59,8 @@ func TestLogging(t *testing.T) { ...@@ -59,10 +59,8 @@ func TestLogging(t *testing.T) {
require.True(t, len(logs) == oldLogLength+1) require.True(t, len(logs) == oldLogLength+1)
// Do signature session // Do signature session
/* Test disabled because of bolthold issue https://github.com/timshannon/bolthold/issues/68 // This test might fail due to bolthold issue https://github.com/timshannon/bolthold/issues/68
* Log storing and the timestamp server use different encoding mechanisms in bolthold, this is not supported. // This issue is fixed, so just run `dep ensure -update github.com/timshannon/bolthold`
* This is only a test issue and no problem for production.
request = getSigningRequest(attrid) request = getSigningRequest(attrid)
sessionHelper(t, request, "signature", client) sessionHelper(t, request, "signature", client)
logs, err = client.LoadLogs(time.Now(), 100) logs, err = client.LoadLogs(time.Now(), 100)
...@@ -79,7 +77,6 @@ func TestLogging(t *testing.T) { ...@@ -79,7 +77,6 @@ func TestLogging(t *testing.T) {
require.Equal(t, irma.ProofStatusValid, status) require.Equal(t, irma.ProofStatusValid, status)
require.NotEmpty(t, attrs) require.NotEmpty(t, attrs)
require.Equal(t, attrid, attrs[0][0].Identifier) require.Equal(t, attrid, attrs[0][0].Identifier)
*/
test.ClearTestStorage(t) test.ClearTestStorage(t)
} }
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