commit | 65d2de89ebdffc2ed0fdf596f9f1c3e5c9609789 | [log] [tgz] |
---|---|---|
author | Mykola Nikishov <mn@mn.com.ua> | Sat Oct 06 00:59:14 2018 +0300 |
committer | Mickael Istria <mistria@redhat.com> | Mon Oct 08 06:24:40 2018 -0400 |
tree | 573a860bf2d01feaaa52373d4a11c563b10dba2b | |
parent | 02ceef70510167c357b7cf205476fc234f2bef57 [diff] |
Fix setup for ImportExportTests Closing service tracker in test's setup method unbinds agent in ImportExportImpl and is the cause of NPEs when calling P2ImportExport's exportP2F(OutputStream, IInstallableUnit[], boolean, IProgressMonitor). Just open service tracker before test, keep it open during the test and close it after the test. Change-Id: I61c1f8d4b37e0b490d61f4b2496343e6f0132591 Signed-off-by: Mykola Nikishov <mn@mn.com.ua>