From 646561afdaa17f057938bd98f5eaf00c3c8df521 Mon Sep 17 00:00:00 2001
From: Rob Vaterlaus <rob.vaterlaus@bigswitch.com>
Date: Fri, 18 May 2012 02:23:58 -0700
Subject: [PATCH] Fix to serial failover unit test to work with changes to
 handling of role changes in controller

---
 .../net/floodlightcontroller/core/internal/ControllerTest.java   | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/test/java/net/floodlightcontroller/core/internal/ControllerTest.java b/src/test/java/net/floodlightcontroller/core/internal/ControllerTest.java
index 3eeb0681f..9fe7bfdfd 100644
--- a/src/test/java/net/floodlightcontroller/core/internal/ControllerTest.java
+++ b/src/test/java/net/floodlightcontroller/core/internal/ControllerTest.java
@@ -694,7 +694,6 @@ public class ControllerTest extends FloodlightTestCase {
         
         // newsw.role is null because the switch does not support
         // role request messages
-        expect(newsw.getRole()).andReturn(null);
         expect(newsw.getAttribute(IOFSwitch.SWITCH_SUPPORTS_NX_ROLE))
                         .andReturn(false);
         // switch is connected 
-- 
GitLab