All pastes #294430 Raw Edit

Someone

public text v1 · immutable
#294430 ·published 2006-12-28 13:49 UTC
rendered paste body

    public void testAddingIfs() throws Exception {
        addIfTable();
        
        createSnmpInterface(1, 24, "lo0", CollectionType.PRIMARY);
        createSnmpInterface(2, 55, "gif0", CollectionType.SECONDARY);
        createSnmpInterface(3, 57, "stf0", CollectionType.COLLECT);
        
        SnmpIfCollector collector = createSnmpIfCollector();
        waitForSignal();
        
        assertInterfaceMibObjectsPresent(collector.getCollectionSet());

        createSnmpInterface(4, 59, "fsck0", CollectionType.COLLECT);
        

        assertInterfaceMibObjectsPresent(collector.getCollectionSet());

    }