Prevent PeriodicProvisioner from running in e2e tests

Since the end to end tests run in the context of rkpdapp, they face
the risk that PeriodicProvisioner runs while the test also runs.

Prevent this by adding a serialization lock around the periodic job,
so that it cannot happen while tests run (and vice versa).

PeriodicProvisioner is always supposed to be serial anyway, so adding
the lock has no impact on normal execution of the background job.

Bug: 330756446
Test: RkpdAppIntegrationTests

Change-Id: I11ceee77c8681869d8b7eeff3e783180d48a1749
4 files changed
tree: c8904c255fe5bca04a837c57b6527c0d427dff52
  1. apex/
  2. app/
  3. system-server/
  4. util/
  5. OWNERS
  6. PREUPLOAD.cfg