CU of test has increased, accomodate only for this test
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
This commit is contained in:
parent
3eae2cdc34
commit
39686d3d0f
|
@ -109,7 +109,6 @@ impl TestContextBuilder {
|
|||
}));
|
||||
|
||||
// intentionally set to as tight as possible, to catch potential problems early
|
||||
// TODO make configurable
|
||||
test.set_compute_max_units(86000);
|
||||
|
||||
Self {
|
||||
|
|
|
@ -15,6 +15,7 @@ mod program_test;
|
|||
#[tokio::test]
|
||||
async fn test_margin_trade1() -> Result<(), BanksClientError> {
|
||||
let mut builder = TestContextBuilder::new();
|
||||
builder.test().set_compute_max_units(170000);
|
||||
let margin_trade = builder.add_margin_trade_program();
|
||||
let context = builder.start_default().await;
|
||||
let solana = &context.solana.clone();
|
||||
|
|
Loading…
Reference in New Issue