File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -1093,7 +1093,7 @@ mod tests {
1093
1093
)
1094
1094
. unwrap ( )
1095
1095
. limits ( AuthorizerLimits {
1096
- max_time : Duration :: from_millis ( 10 ) , //Set 10 milliseconds as the maximum time allowed for the authorization due to "cheap" worker on GitHub Actions
1096
+ max_time : Duration :: from_secs ( 10 ) , //Set 10 seconds as the maximum time allowed for the authorization due to "cheap" worker on GitHub Actions
1097
1097
..Default :: default ( )
1098
1098
} )
1099
1099
. build ( & biscuit2)
Original file line number Diff line number Diff line change @@ -1384,6 +1384,10 @@ mod tests {
1384
1384
. check ( "check if bytes($0), { hex:00000000, hex:0102AB }.contains($0)" )
1385
1385
. unwrap ( )
1386
1386
. allow_all ( )
1387
+ . limits ( AuthorizerLimits {
1388
+ max_time : Duration :: from_secs ( 10 ) ,
1389
+ ..Default :: default ( )
1390
+ } )
1387
1391
. build ( & biscuit2)
1388
1392
. unwrap ( ) ;
1389
1393
You can’t perform that action at this time.
0 commit comments