@@ -211,7 +211,7 @@ fn test_upd_price() {
211
211
assert_eq ! ( price_data. agg_. status_, PC_STATUS_TRADING ) ;
212
212
}
213
213
214
- populate_instruction ( & mut instruction_data, 50 , 6 , 5 ) ;
214
+ populate_instruction ( & mut instruction_data, 50 , 20 , 5 ) ;
215
215
update_clock_slot ( & mut clock_account, 6 ) ;
216
216
217
217
// Publishing a wide CI results in a status of unknown.
@@ -236,7 +236,7 @@ fn test_upd_price() {
236
236
{
237
237
let price_data = load_checked :: < pc_price_t > ( & price_account, PC_VERSION ) . unwrap ( ) ;
238
238
assert_eq ! ( price_data. comp_[ 0 ] . latest_. price_, 50 ) ;
239
- assert_eq ! ( price_data. comp_[ 0 ] . latest_. conf_, 6 ) ;
239
+ assert_eq ! ( price_data. comp_[ 0 ] . latest_. conf_, 20 ) ;
240
240
assert_eq ! ( price_data. comp_[ 0 ] . latest_. pub_slot_, 5 ) ;
241
241
assert_eq ! ( price_data. comp_[ 0 ] . latest_. status_, PC_STATUS_UNKNOWN ) ;
242
242
assert_eq ! ( price_data. valid_slot_, 5 ) ;
@@ -246,7 +246,7 @@ fn test_upd_price() {
246
246
}
247
247
248
248
// Crank one more time and aggregate should be unknown
249
- populate_instruction ( & mut instruction_data, 50 , 6 , 6 ) ;
249
+ populate_instruction ( & mut instruction_data, 50 , 20 , 6 ) ;
250
250
update_clock_slot ( & mut clock_account, 7 ) ;
251
251
252
252
assert ! ( upd_price(
@@ -263,7 +263,7 @@ fn test_upd_price() {
263
263
{
264
264
let price_data = load_checked :: < pc_price_t > ( & price_account, PC_VERSION ) . unwrap ( ) ;
265
265
assert_eq ! ( price_data. comp_[ 0 ] . latest_. price_, 50 ) ;
266
- assert_eq ! ( price_data. comp_[ 0 ] . latest_. conf_, 6 ) ;
266
+ assert_eq ! ( price_data. comp_[ 0 ] . latest_. conf_, 20 ) ;
267
267
assert_eq ! ( price_data. comp_[ 0 ] . latest_. pub_slot_, 6 ) ;
268
268
assert_eq ! ( price_data. comp_[ 0 ] . latest_. status_, PC_STATUS_UNKNOWN ) ;
269
269
assert_eq ! ( price_data. valid_slot_, 6 ) ;
0 commit comments