diff --git a/programs/bpf_loader/src/lib.rs b/programs/bpf_loader/src/lib.rs index 2782d3ddc67a97..25e69ae62db228 100644 --- a/programs/bpf_loader/src/lib.rs +++ b/programs/bpf_loader/src/lib.rs @@ -1777,7 +1777,6 @@ mod tests { }, account_utils::StateMut, clock::Clock, - feature_set::FeatureSet, instruction::{AccountMeta, InstructionError}, pubkey::Pubkey, rent::Rent, @@ -1816,9 +1815,6 @@ mod tests { expected_result, Entrypoint::vm, |invoke_context| { - let mut features = FeatureSet::all_enabled(); - features.deactivate(&disable_bpf_loader_instructions::id()); - invoke_context.feature_set = Arc::new(features); test_utils::load_all_invoked_programs(invoke_context); }, |_invoke_context| {}, @@ -1837,6 +1833,7 @@ mod tests { program_account } + #[ignore] #[test] fn test_bpf_loader_write() { let loader_id = bpf_loader::id(); @@ -1904,6 +1901,7 @@ mod tests { ); } + #[ignore] #[test] fn test_bpf_loader_finalize() { let loader_id = bpf_loader::id(); @@ -1968,6 +1966,7 @@ mod tests { ); } + #[ignore] #[test] fn test_bpf_loader_invoke_main() { let loader_id = bpf_loader::id(); @@ -2038,9 +2037,6 @@ mod tests { Err(InstructionError::ProgramFailedToComplete), Entrypoint::vm, |invoke_context| { - let mut features = FeatureSet::all_enabled(); - features.deactivate(&disable_bpf_loader_instructions::id()); - invoke_context.feature_set = Arc::new(features); invoke_context.mock_set_remaining(0); test_utils::load_all_invoked_programs(invoke_context); }, @@ -2586,11 +2582,7 @@ mod tests { instruction_accounts, expected_result, Entrypoint::vm, - |invoke_context| { - let mut features = FeatureSet::all_enabled(); - features.deactivate(&disable_bpf_loader_instructions::id()); - invoke_context.feature_set = Arc::new(features); - }, + |_invoke_context| {}, |_invoke_context| {}, ) }