Remove reference to IP_LIST
@@ -332,15 +332,6 @@ class TestDjinn < Test::Unit::TestCase
and_return({:rc => 0, :data => ZKInterface::DUMMY_DATA,
:stat => flexmock(:exists => true)})
- # Mocks for writing the IP list
- json_data = '{"ips":[],"last_updated":1331849005}'
- baz.should_receive(:get).
- with(:path => ZKInterface::IP_LIST).
- and_return({:rc => 0, :data => json_data,
- :stat => flexmock(:exists => true)})
-
- baz.should_receive(:set).and_return(all_ok)
-
# Mocks for the appcontroller lock
baz.should_receive(:get).with(
:path => ZKInterface::APPCONTROLLER_LOCK_PATH).
@@ -747,7 +738,6 @@ class TestDjinn < Test::Unit::TestCase
djinn = flexmock(Djinn.new())
djinn.my_index = 0
djinn.nodes = [DjinnJobData.new(role, "appscale")]
- djinn.last_updated = 0
djinn.done_loading = true
djinn
end
