Skip to content
Snippets Groups Projects
Commit dc3e4159 authored by Jonah Husson's avatar Jonah Husson
Browse files

re-enable session smoke test

parent 2620fee2
No related branches found
No related tags found
No related merge requests found
package storage package storage
import ( import (
"bytes"
"os" "os"
"testing" "testing"
"time"
) )
// Smoke test for session object init/set/get methods // Smoke test for session object init/set/get methods
...@@ -16,7 +18,7 @@ func TestSession_Smoke(t *testing.T) { ...@@ -16,7 +18,7 @@ func TestSession_Smoke(t *testing.T) {
t.Log(s) t.Log(s)
t.Errorf("failed to init: %+v", err) t.Errorf("failed to init: %+v", err)
} }
/*
ts, err := time.Now().MarshalText() ts, err := time.Now().MarshalText()
if err != nil { if err != nil {
t.Errorf("Failed to martial time for object") t.Errorf("Failed to martial time for object")
...@@ -36,9 +38,9 @@ func TestSession_Smoke(t *testing.T) { ...@@ -36,9 +38,9 @@ func TestSession_Smoke(t *testing.T) {
if o == nil { if o == nil {
t.Errorf("Got nil return from get") t.Errorf("Got nil return from get")
} }
t.Log(o)
if bytes.Compare(o.Data, []byte("test")) != 0 { if bytes.Compare(o.Data, []byte("test")) != 0 {
t.Errorf("Failed to get data") t.Errorf("Failed to get data")
} }
*/
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment