Annotation @ActiveProfiles doesn't preserve the order of defined profiles in tests in spring boot 2.3.5.RELEASE
I have defined two profiles (europe and belgium) and marked test class with @ActiveProfiles({"europe", "belgium"})
Profiles have been loaded in alphabetical order instead of defined in the annotation.
I wrote test for that case.
It fails due to unexpected behavior

Log from context startup during test execution
2020-10-31 02:00:03.091 INFO 15818 --- [ main] c.e.d.DemoProfilesApplicationTests : The following profiles are active: belgium,europe
In spring boot 2.3.4.RELEASE same test pass
Annotation
@ActiveProfilesdoesn't preserve the order of defined profiles in tests in spring boot 2.3.5.RELEASEI have defined two profiles (europe and belgium) and marked test class with
@ActiveProfiles({"europe", "belgium"})Profiles have been loaded in alphabetical order instead of defined in the annotation.
I wrote test for that case.

It fails due to unexpected behavior
Log from context startup during test execution
2020-10-31 02:00:03.091 INFO 15818 --- [ main] c.e.d.DemoProfilesApplicationTests : The following profiles are active: belgium,europeIn spring boot 2.3.4.RELEASE same test pass