Skip to content

Commit a0822b3

Browse files
committed
Fix for integration test: avoid accessing unset DSE version var for OSS cases
1 parent d3d323c commit a0822b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

integration/types/duration_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def setup
2525
end
2626

2727
def test_can_insert_duration
28-
skip("Duration type was added in DSE 5.1/C* 3.10") if (CCM.dse_version < '5.1' || CCM.cassandra_version < '3.10')
28+
skip("Duration type was added in DSE 5.1/C* 3.10") if (CCM.dse_version && CCM.dse_version < '5.1' || CCM.cassandra_version < '3.10')
2929

3030
cluster = Cassandra.cluster
3131
session = cluster.connect "foo"

0 commit comments

Comments
 (0)