https://pantsbuild.org/ logo
#general
Title
# general
g

green-match-66337

06/28/2022, 11:53 AM
When running our integration tests (AWS using boto3) we have to enter our MFA code many times, I'm assuming this is because of the multiprocessing/multithreading ? Is there a way to cache these for use across all tests?
q

quaint-forest-8735

06/28/2022, 1:53 PM
Is it possible to use STS/instance profile credentials instead to grant access vs manually entering an MFA code?
p

polite-garden-50641

06/28/2022, 2:34 PM
Yes. This is more of a boto3 thing rather than a pants thing. Take a look at this thread https://pantsbuild.slack.com/archives/C046T6T9U/p1652807217373179 I feel this is very similar to the issues you might be having
b

bitter-ability-32190

06/28/2022, 10:18 PM
Another option, we actually package some of our integration tests into a single pex_binary with a pytest entry point and run the PEX. The strength of dep inference but relocatable tests
6 Views