summaryrefslogtreecommitdiffstats
path: root/searchlib/src/tests/features
diff options
context:
space:
mode:
authorLester Solbakken <lesters@yahoo-inc.com>2017-08-18 12:50:36 +0000
committerLester Solbakken <lesters@yahoo-inc.com>2017-08-18 12:50:36 +0000
commit5e389abbfb5906b91f742235685fe96e0f0b4de5 (patch)
treed689baded743450570c61c738f700bd0cb3f5908 /searchlib/src/tests/features
parentd059bd52d8bdd9db6d0dbcaff2ec29572dadc206 (diff)
Change from double to long in collection type single
Diffstat (limited to 'searchlib/src/tests/features')
-rw-r--r--searchlib/src/tests/features/internal_max_reduce_prod_join_feature/internal_max_reduce_prod_join_feature_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/searchlib/src/tests/features/internal_max_reduce_prod_join_feature/internal_max_reduce_prod_join_feature_test.cpp b/searchlib/src/tests/features/internal_max_reduce_prod_join_feature/internal_max_reduce_prod_join_feature_test.cpp
index e9bf4fe5cbb..596b01c5307 100644
--- a/searchlib/src/tests/features/internal_max_reduce_prod_join_feature/internal_max_reduce_prod_join_feature_test.cpp
+++ b/searchlib/src/tests/features/internal_max_reduce_prod_join_feature/internal_max_reduce_prod_join_feature_test.cpp
@@ -31,7 +31,7 @@ struct SetupFixture
: blueprint(),
indexEnv()
{
- addAttribute("double", CollectionType::SINGLE, DataType::DOUBLE);
+ addAttribute("long", CollectionType::SINGLE, DataType::INT64);
addAttribute("longarray", CollectionType::ARRAY, DataType::INT64);
addAttribute("intarray", CollectionType::ARRAY, DataType::INT32);
addAttribute("doublearray", CollectionType::ARRAY, DataType::DOUBLE);
@@ -56,7 +56,7 @@ TEST_F("require that setup fails if attribute does not exist", SetupFixture())
TEST_F("require that setup fails if attribute is of wrong type", SetupFixture())
{
- FTA::FT_SETUP_FAIL(f.blueprint, f.indexEnv, StringList().add("double").add("bar"));
+ FTA::FT_SETUP_FAIL(f.blueprint, f.indexEnv, StringList().add("long").add("bar"));
}
TEST_F("require that setup fails if attribute is of wrong array type", SetupFixture())