Github user aledsage commented on a diff in the pull request:

    https://github.com/apache/brooklyn-server/pull/852#discussion_r142992671
  
    --- Diff: 
core/src/test/java/org/apache/brooklyn/core/mgmt/rebind/RebindCatalogEntityTest.java
 ---
    @@ -1,153 +0,0 @@
    -/*
    - * Licensed to the Apache Software Foundation (ASF) under one
    - * or more contributor license agreements.  See the NOTICE file
    - * distributed with this work for additional information
    - * regarding copyright ownership.  The ASF licenses this file
    - * to you under the Apache License, Version 2.0 (the
    - * "License"); you may not use this file except in compliance
    - * with the License.  You may obtain a copy of the License at
    - *
    - *     http://www.apache.org/licenses/LICENSE-2.0
    - *
    - * Unless required by applicable law or agreed to in writing,
    - * software distributed under the License is distributed on an
    - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    - * KIND, either express or implied.  See the License for the
    - * specific language governing permissions and limitations
    - * under the License.
    - */
    -package org.apache.brooklyn.core.mgmt.rebind;
    -
    -import static org.testng.Assert.assertEquals;
    -import static org.testng.Assert.assertNotNull;
    -import static org.testng.Assert.assertNotSame;
    -
    -import java.io.Closeable;
    -import java.net.URL;
    -import java.util.List;
    -
    -import org.apache.brooklyn.api.entity.Application;
    -import org.apache.brooklyn.api.entity.EntitySpec;
    -import org.apache.brooklyn.api.mgmt.ha.ManagementNodeState;
    -import org.apache.brooklyn.core.catalog.internal.CatalogInitialization;
    -import org.apache.brooklyn.core.config.ConfigKeys;
    -import org.apache.brooklyn.core.entity.AbstractApplication;
    -import org.apache.brooklyn.core.entity.Entities;
    -import org.apache.brooklyn.core.entity.EntityInternal;
    -import org.apache.brooklyn.core.entity.StartableApplication;
    -import org.apache.brooklyn.core.mgmt.internal.LocalManagementContext;
    -import org.apache.brooklyn.core.sensor.Sensors;
    -import org.apache.brooklyn.test.support.TestResourceUnavailableException;
    -import org.apache.brooklyn.util.core.javalang.UrlClassLoader;
    -import org.slf4j.Logger;
    -import org.slf4j.LoggerFactory;
    -import org.testng.annotations.BeforeMethod;
    -import org.testng.annotations.Test;
    -
    -import com.google.common.base.Function;
    -
    -public class RebindCatalogEntityTest extends 
RebindTestFixture<StartableApplication> {
    --- End diff --
    
    See description in this individual commit:
    ```
    Was testing use of catalog class loader, not OSGi, with catalog item
    requiring custom class loader being added programmatically via 
    catalog.addItem() and then fiddling with catalog on rebind to add it 
    back in!
    
    No user should be doing that; the test is not something we want to
    support.
    ```


---

Reply via email to