File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
x-pack/test/security_api_integration/tests Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -94,9 +94,9 @@ export default function ({ getService }: FtrProviderContext) {
9494 expect ( await getNumberOfSessionDocuments ( ) ) . to . be ( 1 ) ;
9595
9696 // Cleanup routine runs every 10s, and idle timeout threshold is three times larger than 5s
97- // idle timeout, let's wait for 30s to make sure cleanup routine runs when idle timeout
97+ // idle timeout, let's wait for 40s to make sure cleanup routine runs when idle timeout
9898 // threshold is exceeded.
99- await delay ( 30000 ) ;
99+ await delay ( 40000 ) ;
100100
101101 // Session info is removed from the index and cookie isn't valid anymore
102102 expect ( await getNumberOfSessionDocuments ( ) ) . to . be ( 0 ) ;
@@ -139,9 +139,9 @@ export default function ({ getService }: FtrProviderContext) {
139139 expect ( await getNumberOfSessionDocuments ( ) ) . to . be ( 4 ) ;
140140
141141 // Cleanup routine runs every 10s, and idle timeout threshold is three times larger than 5s
142- // idle timeout, let's wait for 30s to make sure cleanup routine runs when idle timeout
142+ // idle timeout, let's wait for 40s to make sure cleanup routine runs when idle timeout
143143 // threshold is exceeded.
144- await delay ( 30000 ) ;
144+ await delay ( 40000 ) ;
145145
146146 // Session for basic and SAML that used global session settings should not be valid anymore.
147147 expect ( await getNumberOfSessionDocuments ( ) ) . to . be ( 2 ) ;
Original file line number Diff line number Diff line change @@ -91,9 +91,9 @@ export default function ({ getService }: FtrProviderContext) {
9191 } ) ;
9292 expect ( await getNumberOfSessionDocuments ( ) ) . to . be ( 1 ) ;
9393
94- // Cleanup routine runs every 10s, let's wait for 30s to make sure it runs multiple times and
94+ // Cleanup routine runs every 10s, let's wait for 40s to make sure it runs multiple times and
9595 // when lifespan is exceeded.
96- await delay ( 30000 ) ;
96+ await delay ( 40000 ) ;
9797
9898 // Session info is removed from the index and cookie isn't valid anymore
9999 expect ( await getNumberOfSessionDocuments ( ) ) . to . be ( 0 ) ;
@@ -134,9 +134,9 @@ export default function ({ getService }: FtrProviderContext) {
134134 } ) ;
135135 expect ( await getNumberOfSessionDocuments ( ) ) . to . be ( 4 ) ;
136136
137- // Cleanup routine runs every 10s, let's wait for 30s to make sure it runs multiple times and
137+ // Cleanup routine runs every 10s, let's wait for 40s to make sure it runs multiple times and
138138 // when lifespan is exceeded.
139- await delay ( 30000 ) ;
139+ await delay ( 40000 ) ;
140140
141141 // Session for basic and SAML that used global session settings should not be valid anymore.
142142 expect ( await getNumberOfSessionDocuments ( ) ) . to . be ( 2 ) ;
You can’t perform that action at this time.
0 commit comments