Plugins in tests

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Plugins in tests

yzhdanov
Guys,

When running tests from core module I see that Ignite has 2 plugins
configured by default (because they are available in classpath):

-TestReconnectPlugin 1.0
-StanByClusterTestProvider 1.0

It seems they were introduced by Dmitry Karachentsev and Dmitry Govorukhin.
Guys, can you please move the plugins to extdata project similar to
PlatformTestPlugin and configure them only when needed. This is not correct
that each test we run for Ignite runs with plugins configured. By default
Ignite does not have any plugin.

--Yakov
Reply | Threaded
Open this post in threaded view
|

Re: Plugins in tests

Dmitriy Govorukhin
 Yakov,

Agree, I created the issue for this. I will try to do it in the near future.

IGNITE-7679 <https://issues.apache.org/jira/browse/IGNITE-7679>


On Tue, Jan 30, 2018 at 8:40 AM, Yakov Zhdanov <[hidden email]> wrote:

> Guys,
>
> When running tests from core module I see that Ignite has 2 plugins
> configured by default (because they are available in classpath):
>
> -TestReconnectPlugin 1.0
> -StanByClusterTestProvider 1.0
>
> It seems they were introduced by Dmitry Karachentsev and Dmitry Govorukhin.
> Guys, can you please move the plugins to extdata project similar to
> PlatformTestPlugin and configure them only when needed. This is not correct
> that each test we run for Ignite runs with plugins configured. By default
> Ignite does not have any plugin.
>
> --Yakov
>
Reply | Threaded
Open this post in threaded view
|

Re: Plugins in tests

Mmuzaf
Folks,

I've found another plugin - `PageMemory tracker plugin 1.0`. It contains
`IGNITE_ENABLE_PAGE_MEMORY_TRACKER`
which is `false` by default, so it doesn't participate in current tests.

But I think we should also move it to `extdata` module too. Am I right?
Should we update JIRA [1] description regarding newly available plugin?

[1] https://issues.apache.org/jira/browse/IGNITE-7679


On Mon, 12 Feb 2018 at 19:57 Dmitriy Govorukhin <
[hidden email]> wrote:

>  Yakov,
>
> Agree, I created the issue for this. I will try to do it in the near
> future.
>
> IGNITE-7679 <https://issues.apache.org/jira/browse/IGNITE-7679>
>
>
> On Tue, Jan 30, 2018 at 8:40 AM, Yakov Zhdanov <[hidden email]>
> wrote:
>
> > Guys,
> >
> > When running tests from core module I see that Ignite has 2 plugins
> > configured by default (because they are available in classpath):
> >
> > -TestReconnectPlugin 1.0
> > -StanByClusterTestProvider 1.0
> >
> > It seems they were introduced by Dmitry Karachentsev and Dmitry
> Govorukhin.
> > Guys, can you please move the plugins to extdata project similar to
> > PlatformTestPlugin and configure them only when needed. This is not
> correct
> > that each test we run for Ignite runs with plugins configured. By default
> > Ignite does not have any plugin.
> >
> > --Yakov
> >
>
--
--
Maxim Muzafarov
Reply | Threaded
Open this post in threaded view
|

Re: Plugins in tests

Alexey Plekhanov
Hello Maxim,

I miss this conversation and ticket when implementing PageMemory tracker
plugin. By default, it's disabled (every method do nothing), but plugin
instance created anyway.

If we want to get clear Ignite instances in the testing framework in the
core module, PageMemory tracker plugin also should be moved to another
module.

чт, 6 сент. 2018 г. в 19:50, Maxim Muzafarov <[hidden email]>:

> Folks,
>
> I've found another plugin - `PageMemory tracker plugin 1.0`. It contains
> `IGNITE_ENABLE_PAGE_MEMORY_TRACKER`
> which is `false` by default, so it doesn't participate in current tests.
>
> But I think we should also move it to `extdata` module too. Am I right?
> Should we update JIRA [1] description regarding newly available plugin?
>
> [1] https://issues.apache.org/jira/browse/IGNITE-7679
>
>
> On Mon, 12 Feb 2018 at 19:57 Dmitriy Govorukhin <
> [hidden email]> wrote:
>
> >  Yakov,
> >
> > Agree, I created the issue for this. I will try to do it in the near
> > future.
> >
> > IGNITE-7679 <https://issues.apache.org/jira/browse/IGNITE-7679>
> >
> >
> > On Tue, Jan 30, 2018 at 8:40 AM, Yakov Zhdanov <[hidden email]>
> > wrote:
> >
> > > Guys,
> > >
> > > When running tests from core module I see that Ignite has 2 plugins
> > > configured by default (because they are available in classpath):
> > >
> > > -TestReconnectPlugin 1.0
> > > -StanByClusterTestProvider 1.0
> > >
> > > It seems they were introduced by Dmitry Karachentsev and Dmitry
> > Govorukhin.
> > > Guys, can you please move the plugins to extdata project similar to
> > > PlatformTestPlugin and configure them only when needed. This is not
> > correct
> > > that each test we run for Ignite runs with plugins configured. By
> default
> > > Ignite does not have any plugin.
> > >
> > > --Yakov
> > >
> >
> --
> --
> Maxim Muzafarov
>
Reply | Threaded
Open this post in threaded view
|

Re: Plugins in tests

Mmuzaf
Alex,

Thank you.

I've added an additional comment in IGNITE-7679 about PageMemory tracker
plugin, so we can move
all plugins within a single ticket and do not miss anything.

[1] https://issues.apache.org/jira/browse/IGNITE-7679

On Fri, 7 Sep 2018 at 09:39 Alex Plehanov <[hidden email]> wrote:

> Hello Maxim,
>
> I miss this conversation and ticket when implementing PageMemory tracker
> plugin. By default, it's disabled (every method do nothing), but plugin
> instance created anyway.
>
> If we want to get clear Ignite instances in the testing framework in the
> core module, PageMemory tracker plugin also should be moved to another
> module.
>
> чт, 6 сент. 2018 г. в 19:50, Maxim Muzafarov <[hidden email]>:
>
> > Folks,
> >
> > I've found another plugin - `PageMemory tracker plugin 1.0`. It contains
> > `IGNITE_ENABLE_PAGE_MEMORY_TRACKER`
> > which is `false` by default, so it doesn't participate in current tests.
> >
> > But I think we should also move it to `extdata` module too. Am I right?
> > Should we update JIRA [1] description regarding newly available plugin?
> >
> > [1] https://issues.apache.org/jira/browse/IGNITE-7679
> >
> >
> > On Mon, 12 Feb 2018 at 19:57 Dmitriy Govorukhin <
> > [hidden email]> wrote:
> >
> > >  Yakov,
> > >
> > > Agree, I created the issue for this. I will try to do it in the near
> > > future.
> > >
> > > IGNITE-7679 <https://issues.apache.org/jira/browse/IGNITE-7679>
> > >
> > >
> > > On Tue, Jan 30, 2018 at 8:40 AM, Yakov Zhdanov <[hidden email]>
> > > wrote:
> > >
> > > > Guys,
> > > >
> > > > When running tests from core module I see that Ignite has 2 plugins
> > > > configured by default (because they are available in classpath):
> > > >
> > > > -TestReconnectPlugin 1.0
> > > > -StanByClusterTestProvider 1.0
> > > >
> > > > It seems they were introduced by Dmitry Karachentsev and Dmitry
> > > Govorukhin.
> > > > Guys, can you please move the plugins to extdata project similar to
> > > > PlatformTestPlugin and configure them only when needed. This is not
> > > correct
> > > > that each test we run for Ignite runs with plugins configured. By
> > default
> > > > Ignite does not have any plugin.
> > > >
> > > > --Yakov
> > > >
> > >
> > --
> > --
> > Maxim Muzafarov
> >
>
--
--
Maxim Muzafarov
Reply | Threaded
Open this post in threaded view
|

Re: Plugins in tests

Mmuzaf
Igniters,

It seems that our pre-configured list of plugins a bit grow up.
The full list of them for now:

 TestReconnectPlugin 1.0
 StanByClusterTestProvider 1.0
 PageMemory tracker plugin 1.0
 TestDistibutedConfigurationPlugin 1.0
 NodeValidationPluginProvider 1.0

I think we should move them to separate modules, as mentioned Yakov in
the first message.
I've left a new comment in JIRA [1], so hopefully, we do not forget to do so.

[1] https://issues.apache.org/jira/browse/IGNITE-7679

On Fri, 7 Sep 2018 at 13:54, Maxim Muzafarov <[hidden email]> wrote:

>
> Alex,
>
> Thank you.
>
> I've added an additional comment in IGNITE-7679 about PageMemory tracker plugin, so we can move
> all plugins within a single ticket and do not miss anything.
>
> [1] https://issues.apache.org/jira/browse/IGNITE-7679
>
> On Fri, 7 Sep 2018 at 09:39 Alex Plehanov <[hidden email]> wrote:
>>
>> Hello Maxim,
>>
>> I miss this conversation and ticket when implementing PageMemory tracker
>> plugin. By default, it's disabled (every method do nothing), but plugin
>> instance created anyway.
>>
>> If we want to get clear Ignite instances in the testing framework in the
>> core module, PageMemory tracker plugin also should be moved to another
>> module.
>>
>> чт, 6 сент. 2018 г. в 19:50, Maxim Muzafarov <[hidden email]>:
>>
>> > Folks,
>> >
>> > I've found another plugin - `PageMemory tracker plugin 1.0`. It contains
>> > `IGNITE_ENABLE_PAGE_MEMORY_TRACKER`
>> > which is `false` by default, so it doesn't participate in current tests.
>> >
>> > But I think we should also move it to `extdata` module too. Am I right?
>> > Should we update JIRA [1] description regarding newly available plugin?
>> >
>> > [1] https://issues.apache.org/jira/browse/IGNITE-7679
>> >
>> >
>> > On Mon, 12 Feb 2018 at 19:57 Dmitriy Govorukhin <
>> > [hidden email]> wrote:
>> >
>> > >  Yakov,
>> > >
>> > > Agree, I created the issue for this. I will try to do it in the near
>> > > future.
>> > >
>> > > IGNITE-7679 <https://issues.apache.org/jira/browse/IGNITE-7679>
>> > >
>> > >
>> > > On Tue, Jan 30, 2018 at 8:40 AM, Yakov Zhdanov <[hidden email]>
>> > > wrote:
>> > >
>> > > > Guys,
>> > > >
>> > > > When running tests from core module I see that Ignite has 2 plugins
>> > > > configured by default (because they are available in classpath):
>> > > >
>> > > > -TestReconnectPlugin 1.0
>> > > > -StanByClusterTestProvider 1.0
>> > > >
>> > > > It seems they were introduced by Dmitry Karachentsev and Dmitry
>> > > Govorukhin.
>> > > > Guys, can you please move the plugins to extdata project similar to
>> > > > PlatformTestPlugin and configure them only when needed. This is not
>> > > correct
>> > > > that each test we run for Ignite runs with plugins configured. By
>> > default
>> > > > Ignite does not have any plugin.
>> > > >
>> > > > --Yakov
>> > > >
>> > >
>> > --
>> > --
>> > Maxim Muzafarov
>> >
>
> --
> --
> Maxim Muzafarov