mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-02 06:05:53 +00:00
This is a translation of Cassandra's CQL unit test source file validation/entities/TimestampTest.java into our our cql-pytest framework. This test file checks has a few tests (8) on various features of cell timestamps. All these tests pass on Cassandra and on Scylla - i.e., these tests no new Scylla bug was detected :-) Two of the new tests are very slow (6 seconds each) and check a trivial feature that was already checked elsewhere more efficiently (the fact that TTL expiration works), so I marked them "skip" after verifying they really pass. Signed-off-by: Nadav Har'El <nyh@scylladb.com> Message-Id: <20210801142738.1633126-1-nyh@scylladb.com>
All tests in this directory and its subdirectories were translated from Apache Cassandra's unit tests - the test/unit/org/apache/cassandra/cql3 directory in the Apache Cassandra source code repository. The organization of this directory mirrors that of the Cassandra directory, with test files renamed from SomeThingTest.java to some_thing_test.py. Individual files were translated in their entirety, and each individual file includes a comment on which version of the file was translated (Cassandra's tests continue to evolve, so we may later want to catch up with the differences). Please avoid adding new tests, not translated from Cassandra, in this directory. Instead, place new tests written from scratch for Scylla, or improved tests, in the directory above.