Revision ae53d437 src/test/Nebula.cc

View differences:

src/test/Nebula.cc
87 87
        delete tpool;
88 88
    }
89 89

  
90
    if ( gpool != 0)
91
    {
92
        delete gpool;
93
    }
94

  
90 95
    if ( vmm != 0)
91 96
    {
92 97
        delete vmm;
......
171 176
        UserPool::bootstrap(db);
172 177
        ImagePool::bootstrap(db);
173 178
        ClusterPool::bootstrap(db);
179
        VMTemplatePool::bootstrap(db);
180
        GroupPool::bootstrap(db);
174 181
    }
175 182
    catch (exception&)
176 183
    {
......
222 229
        {
223 230
            tpool  = tester->create_tpool(db);
224 231
        }
232

  
233
        if (tester->need_group_pool)
234
        {
235
            gpool  = tester->create_gpool(db);
236
        }
225 237
    }
226 238
    catch (exception&)
227 239
    {
......
367 379
        try
368 380
        {
369 381
            rm = tester->create_rm(vmpool,hpool,vnpool,upool,ipool,cpool,tpool,
370
                                   log_location + "one_xmlrpc.log");
382
                                   gpool,log_location + "one_xmlrpc.log");
371 383
        }
372 384
        catch (bad_alloc&)
373 385
        {

Also available in: Unified diff