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

Disabled non-functioning test

Add comment about sleep
parent 3b35bfd6
...@@ -36,7 +36,8 @@ func TestLogging(t *testing.T) { ...@@ -36,7 +36,8 @@ func TestLogging(t *testing.T) {
require.NoError(t, err) require.NoError(t, err)
require.NotEmpty(t, disclosed) require.NotEmpty(t, disclosed)
time.Sleep(2 * time.Second) // To make sure next session is in a different unix time in seconds to do the before parameter test
time.Sleep(1 * time.Second)
// Do disclosure session // Do disclosure session
request = getDisclosureRequest(attrid) request = getDisclosureRequest(attrid)
...@@ -58,6 +59,10 @@ func TestLogging(t *testing.T) { ...@@ -58,6 +59,10 @@ 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
* Log storing and the timestamp server use different encoding mechanisms in bolthold, this is not supported.
* 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)
...@@ -74,6 +79,7 @@ func TestLogging(t *testing.T) { ...@@ -74,6 +79,7 @@ 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