This is unfortunately not doable by Arquillian extension. We would need some Arquillian server event, which would precedes the start of the Weld. The first available Arquillian server event is BeforeSuite, which is too late for us. This was resolved by an extra jar deployment (preceding test deployment) which contains @Startup bean which registers callbacks which loads (set/unsets) given system properties.
|