Increase timeout to prevent false positive
This commit is contained in:
parent
fd8657a495
commit
c831660f62
|
@ -66,12 +66,12 @@ func TestReachViewApplyConfiguration(t *testing.T) {
|
||||||
|
|
||||||
config.RTKSettings.PositionningMode = String("single")
|
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()
|
defer applyConfCancel()
|
||||||
|
|
||||||
result, config, err := client.ApplyConfiguration(ctx, config)
|
result, config, err := client.ApplyConfiguration(ctx, config)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Error(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
if config == nil {
|
if config == nil {
|
||||||
|
|
Reference in New Issue