mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-03 08:28:31 +00:00
Start of statsweb program
This commit is contained in:
parent
56b86ad4e3
commit
9fc946e373
7 changed files with 130 additions and 10 deletions
|
@ -12,7 +12,7 @@ import (
|
|||
func TestUniqueConnections(t *testing.T) {
|
||||
const TestExpectedCount = 1000
|
||||
|
||||
testStart := time.Now().In(counterLocation)
|
||||
testStart := time.Now().In(CounterLocation)
|
||||
|
||||
var server *httptest.Server
|
||||
var backendExpected = NewTBackendRequestChecker(t,
|
||||
|
@ -35,7 +35,7 @@ func TestUniqueConnections(t *testing.T) {
|
|||
TCheckHLLValue(t, TestExpectedCount, readCurrentHLL())
|
||||
|
||||
token := <-uniqueCtrWritingToken
|
||||
uniqueCounter.End = time.Now().In(counterLocation).Add(-1 * time.Second)
|
||||
uniqueCounter.End = time.Now().In(CounterLocation).Add(-1 * time.Second)
|
||||
uniqueCtrWritingToken <- token
|
||||
|
||||
rolloverCounters_do()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue