<div dir="ltr"><div><div><div>So if I understood all this correctly, <br>this mail here was more of a heads up what is happening<br></div>than a discussion on how could or should be best done.<br><br></div>I just hope you (the team behind decisions) considered all scenarios how will that impact everyone involved.<br></div><div><br>--<br></div>tomaz<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 2, 2016 at 12:58 PM, Josef Cacek <span dir="ltr"><<a href="mailto:jcacek@redhat.com" target="_blank">jcacek@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">We prefer duplication of all tests in the testsuite to keep test coverage.<br>
<br>
To be sure we don't have regressions with introducing Elytron and at the same time we are able to cover current features with Elytron, we must run all tests with both security subsystems.<br>
Even if a test is not security related on the first glance, the tested component may use a security feature internally. By switching to the new security subsystem the feature may stop work.<br>
<br>
Let's keep the current (legacy security based) tests alive until the legacy security subsystem is fully removed.<br>
Then we'll simply remove the *-legacy-security testsuite modules.<br>
<span class="HOEnZb"><font color="#888888"><br>
-- Josef<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
----- Original Message -----<br>
> From: "Tomaž Cerar" <<a href="mailto:tomaz.cerar@gmail.com">tomaz.cerar@gmail.com</a>><br>
> To: "Darran Lofthouse" <<a href="mailto:darran.lofthouse@jboss.com">darran.lofthouse@jboss.com</a>><br>
> Cc: <a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
> Sent: Friday, December 2, 2016 12:37:22 PM<br>
> Subject: Re: [wildfly-dev] Elytron integration tests in WildFly testsuite<br>
><br>
> That is probably fine, but! it should be done differently.<br>
><br>
> instead of duplicating whole testsuite (and adding extra hour to execution<br>
> and extra headaches with intermittent problems and duplication of<br>
> maintenance)<br>
> I would suggest that all security related tests get extracted to new<br>
> "security" testsuite module and than only that part is duplicated.<br>
><br>
> This way we will have all security related stuff in one place.<br>
><br>
><br>
><br>
> On Fri, Dec 2, 2016 at 12:09 PM, Darran Lofthouse <<br>
> <a href="mailto:darran.lofthouse@jboss.com">darran.lofthouse@jboss.com</a> > wrote:<br>
><br>
><br>
> Probably should add - any duplication should only be for security tests<br>
> - not everything else in there!<br>
><br>
> On 02/12/16 11:08, Darran Lofthouse wrote:<br>
> > On 02/12/16 11:03, Tomaž Cerar wrote:<br>
> >><br>
> >> On Fri, Dec 2, 2016 at 9:11 AM, Josef Cacek < <a href="mailto:jcacek@redhat.com">jcacek@redhat.com</a><br>
> >> <mailto: <a href="mailto:jcacek@redhat.com">jcacek@redhat.com</a> >> wrote:<br>
> >><br>
> >> The modules would just live side by side - basic would use Elytron<br>
> >> configuration, basic-legacy-security would use configuration similar<br>
> >> to (or same as) the current server configuration.<br>
> >><br>
> >><br>
> >><br>
> >> What would this actually mean?<br>
> >> we will have two copies basic tests suites one running with elytron<br>
> >> another with legacy security subsystem?<br>
> >><br>
> >> Do I read that right? Please say I am not.<br>
> ><br>
> > That is correct - we have two security implementations they both need<br>
> > testing.<br>
> ><br>
> > One needs testing for backwards compatibility and regressions, the other<br>
> > for equivalent behaviour and then new features and bugs.<br>
> ><br>
> > Needing to test both was discussed previously so this is more about how<br>
> > to separate both and also give the Elytron testing a good foundation to<br>
> > start from.<br>
> ><br>
> >><br>
> >><br>
> >> ______________________________<wbr>_________________<br>
> >> wildfly-dev mailing list<br>
> >> <a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
> >> <a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/wildfly-dev</a><br>
> >><br>
> ><br>
><br>
> ______________________________<wbr>_________________<br>
> wildfly-dev mailing list<br>
> <a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/wildfly-dev</a><br>
><br>
><br>
> ______________________________<wbr>_________________<br>
> wildfly-dev mailing list<br>
> <a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/wildfly-dev</a><br>
</div></div></blockquote></div><br></div>