Increase timeout to prevent false positive

This commit is contained in:
wpetit 2018-09-26 16:59:07 +02:00
parent fd8657a495
commit c831660f62
1 changed files with 2 additions and 2 deletions

View File

@ -66,12 +66,12 @@ func TestReachViewApplyConfiguration(t *testing.T) {
config.RTKSettings.PositionningMode = String("single")
ctx, applyConfCancel := context.WithTimeout(context.Background(), 5*time.Second)
ctx, applyConfCancel := context.WithTimeout(context.Background(), 10*time.Second)
defer applyConfCancel()
result, config, err := client.ApplyConfiguration(ctx, config)
if err != nil {
t.Error(err)
t.Fatal(err)
}
if config == nil {