YUKI Hiroshi
null+****@clear*****
Tue Jun 2 13:54:00 JST 2015
YUKI Hiroshi 2015-06-02 13:54:00 +0900 (Tue, 02 Jun 2015) New Revision: 10763580df84f5dbea61464cb488bd7dfa58dc46 https://github.com/droonga/droonga-engine/commit/10763580df84f5dbea61464cb488bd7dfa58dc46 Message: Use automatically-detected host name to the expected case. Because it becomes random name like "testing-worker-linux-5590757e-1-8013-linux-13-64888638" on Travis CI. Modified files: test/unit/catalog/test_generator.rb Modified: test/unit/catalog/test_generator.rb (+3 -2) =================================================================== --- test/unit/catalog/test_generator.rb 2015-06-01 16:07:29 +0900 (ce5bcb1) +++ test/unit/catalog/test_generator.rb 2015-06-02 13:54:00 +0900 (afb4f57) @@ -1,4 +1,4 @@ -# Copyright (C) 2014 Droonga Project +# Copyright (C) 2015 Droonga Project # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -14,6 +14,7 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA require "droonga/catalog/generator" +require "droonga/node_name" class CatalogGeneratorTest < Test::Unit::TestCase def setup @@ -68,7 +69,7 @@ class CatalogGeneratorTest < Test::Unit::TestCase "slices" => [ { "volume" => { - "address" => "127.0.0.1:10031/droonga.000", + "address" => "#{Droonga::NodeName::DEFAULT_HOST}:10031/droonga.000", }, "weight" => 100, }, -------------- next part -------------- HTML����������������������������... Download