(t *testing.T)
| 144 | } |
| 145 | |
| 146 | func TestRuntimeStore_SessionCount(t *testing.T) { |
| 147 | // Use a separate store for this test |
| 148 | testStore := NewRuntimeStore(NewDefaultRuntimeConfig()) |
| 149 | testValue := make(map[interface{}]interface{}) |
| 150 | testValue["foo"] = "bar" |
| 151 | |
| 152 | testStore.SessionUpdate(NewSessionState(testStore, "session_read", testValue)) |
| 153 | testStore.SessionUpdate(NewSessionState(testStore, "session_read_1", testValue)) |
| 154 | testStore.SessionUpdate(NewSessionState(testStore, "session_read_2", testValue)) |
| 155 | |
| 156 | fmt.Println(testStore.SessionCount()) |
| 157 | } |
| 158 | |
| 159 | func TestRuntimeStore_SessionAccess(t *testing.T) { |
| 160 | // Use a separate store for this test to avoid race conditions |
nothing calls this directly
no test coverage detected