Skip to content

Commit

Permalink
Merge pull request #180 from basho/feature/bch/add-oss-ts-tests
Browse files Browse the repository at this point in the history
Add OSS riak_ts Tests and 3 Missing Tests
  • Loading branch information
Brett Hazen committed Feb 12, 2016
2 parents 39c7ee3 + 1209529 commit b8cb27f
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions priv/sql/178-add-oss-ts-tests.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
BEGIN;

-- Add riak tests for all EE Time Series tests
INSERT INTO projects_tests (project_id, test_id)
SELECT projects.id, tests.id FROM projects, tests
WHERE (projects.name = 'riak') AND tests.name LIKE 'ts_%';

-- Add in the new ones
WITH newtests AS (INSERT INTO tests (name, platform, backend) VALUES
('ts_simple_single_key_ops','centos-6-64','eleveldb'),
('ts_simple_div_by_zero','centos-6-64','eleveldb'),
('ts_simple_select_double_in_key','centos-6-64','eleveldb')
RETURNING id)

INSERT INTO projects_tests (project_id, test_id)
SELECT projects.id, newtests.id FROM projects, newtests
WHERE (projects.name = 'riak' OR projects.name = 'riak_ee');

COMMIT;

0 comments on commit b8cb27f

Please sign in to comment.