Skip to content

Commit

Permalink
Increase timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
berejant committed Dec 2, 2023
1 parent cecc1dd commit a6d01b3
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Test1AnonUserMessage.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
)

func Test1AnonUserMessage(t *testing.T) {
fmt.Println("Test1AnonUserMessage")
fmt.Println("➡️Test1AnonUserMessage")
defer printTestResult(t, "Test1AnonUserMessage")

userId := test1LoginUserId
Expand Down
2 changes: 1 addition & 1 deletion Test2EnsureAuthFlow.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
)

func Test2EnsureAuthFlow(t *testing.T) {
fmt.Println("Test2EnsureAuthFlow")
fmt.Println("➡️Test2EnsureAuthFlow")
defer printTestResult(t, "Test2EnsureAuthFlow")

userId := test2AuthFlowUserId
Expand Down
2 changes: 1 addition & 1 deletion Test3SecondaryDatabaseUpdates.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func createScoresForTest3(
}

func Test3SecondaryDatabaseUpdates(t *testing.T) {
fmt.Println("Test3SecondaryDatabaseUpdates")
fmt.Println("➡️Test3SecondaryDatabaseUpdates")
defer printTestResult(t, "Test3SecondaryDatabaseUpdates")

if config.repeatScoreChangesTimeframeSeconds < time.Second*30 {
Expand Down
2 changes: 1 addition & 1 deletion Test4PhantomEdit.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ score 1 id 32788943
*/

func Test4PhantomEdit(t *testing.T) {
fmt.Println("Test4PhantomEdit")
fmt.Println("➡️Test4PhantomEdit")
defer printTestResult(t, "Test4PhantomEdit")

startRegDate := time.Date(2023, 7, 6, 6, 0, 0, 0, time.UTC)
Expand Down
4 changes: 2 additions & 2 deletions Test5BotDeactivatedByUser.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func createScoresForTest5(
}

func Test5BotDeactivatedByUser(t *testing.T) {
fmt.Println("Test5BotDeactivatedByUser")
fmt.Println("➡️Test5BotDeactivatedByUser")
defer printTestResult(t, "Test5BotDeactivatedByUser")

startRegDate := time.Date(2023, 7, 6, 12, 0, 0, 0, time.UTC)
Expand Down Expand Up @@ -103,7 +103,7 @@ func Test5BotDeactivatedByUser(t *testing.T) {

// wait to unregister user after error
catchMessage.Reset()
waitUntilCalledTimes(expectNewScoreMessageScope, 10*time.Second, 2)
waitUntilCalledTimes(expectNewScoreMessageScope, 20*time.Second, 2)

assert.Equal(t, 2, expectNewScoreMessageScope.Hits())
assert.Equal(t, "Відтепер надсилання сповіщень зупинено.", catchMessage.Text)
Expand Down
2 changes: 1 addition & 1 deletion Test6RealtimeImportRegularGroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
)

func Test6RealtimeImportRegularGroup(t *testing.T) {
fmt.Println("Test6RealtimeImportRegularGroup")
fmt.Println("➡️Test6RealtimeImportRegularGroup")
defer printTestResult(t, "Test6RealtimeImportRegularGroup")

TestRealtimeImport(t,
Expand Down
2 changes: 1 addition & 1 deletion Test7RealtimeImportCustomGroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
)

func Test7RealtimeImportCustomGroup(t *testing.T) {
fmt.Println("Test7RealtimeImportCustomGroup")
fmt.Println("➡️Test7RealtimeImportCustomGroup")
defer printTestResult(t, "Test7RealtimeImportCustomGroup")

TestRealtimeImport(t,
Expand Down
2 changes: 1 addition & 1 deletion Test8DelayedDeleteWelcomeAnonMessages.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
)

func Test8DelayedDeleteWelcomeAnonMessages(t *testing.T) {
fmt.Println("Test8DelayedDeleteWelcomeAnonMessages")
fmt.Println("➡️Test8DelayedDeleteWelcomeAnonMessages")
defer printTestResult(t, "Test8DelayedDeleteWelcomeAnonMessages")

fmt.Printf("mocks.delayedDeleteMessageHandler.messages length: %d\n", len(mocks.delayedDeleteMessageHandler.messages))
Expand Down

0 comments on commit a6d01b3

Please sign in to comment.