solana-labs / rbpf

Rust virtual machine and JIT compiler for eBPF programs
Apache License 2.0
272 stars 163 forks source link

Add shuttle testing infrastructure #576

Closed LucasSte closed 2 months ago

LucasSte commented 3 months ago

Problem

The program cache in Agave lacks proper infrastructure for concurrent tests.

Solution

I am adopting shuttle to run concurrent tests that are more systematic. As the program cache depends on the rBPF crate, I must replace the imports here as well in order for the tests to work.