diff --git a/.github/workflows/pika.yml b/.github/workflows/pika.yml index dbf3c3715b..c9c199df0a 100644 --- a/.github/workflows/pika.yml +++ b/.github/workflows/pika.yml @@ -261,10 +261,6 @@ jobs: rm -rf ./deps rm -rf ./buildtree - - name: Test - working-directory: ${{ github.workspace }}/build - run: ctest --rerun-failed --output-on-failure -C ${{ env.BUILD_TYPE }} - - name: Unit Test working-directory: ${{ github.workspace }} run: | diff --git a/src/storage/src/base_filter.h b/src/storage/src/base_filter.h index 26f0a268f6..70d7f920c3 100644 --- a/src/storage/src/base_filter.h +++ b/src/storage/src/base_filter.h @@ -153,8 +153,8 @@ class StreamsDataFilter : public rocksdb::CompactionFilter { bool* value_changed) const override { ParsedStreamDataKey parsed_stream_data_key(key); TRACE("==========================START=========================="); - TRACE("[DataFilter], key: %s, id = %s, version = %d", parsed_base_data_key.key().ToString().c_str(), - parsed_base_data_key.data().ToString().c_str(), parsed_base_data_key.version()); + TRACE("[DataFilter], key: %s, id = %s, version = %d", parsed_stream_data_key.key().ToString().c_str(), + parsed_stream_data_key.data().ToString().c_str(), parsed_stream_data_key.version()); if (parsed_stream_data_key.key().ToString() != cur_key_) { cur_key_ = parsed_stream_data_key.key().ToString(); diff --git a/tests/integration/list_test.go b/tests/integration/list_test.go index 92b003533b..c62d00111c 100644 --- a/tests/integration/list_test.go +++ b/tests/integration/list_test.go @@ -1291,28 +1291,5 @@ var _ = Describe("List Commands", func() { // Expect(lRange.Err()).NotTo(HaveOccurred()) // Expect(lRange.Val()).To(Equal([]string{"san"})) //}) - - It("should lpush and rpushx", func() { - lpush := client.LPush(ctx, "list1", 1, 2, 3, 4) - Expect(lpush.Err()).NotTo(HaveOccurred()) - Expect(lpush.Val()).To(Equal(int64(4))) - - getRes, err := client.Get(ctx, "list1").Result() - Expect(err).To(HaveOccurred()) // An error is expected since listkey is a list, not a string - Expect(getRes).To(Equal("")) - - lrang := client.LRange(ctx, "list1", 0, -1) - Expect(lrang.Err()).NotTo(HaveOccurred()) - Expect(lrang.Val()).To(Equal([]string{"4", "3", "2", "1"})) - - rpush := client.RPushX(ctx, "list1", 5) - Expect(rpush.Err()).NotTo(HaveOccurred()) - Expect(rpush.Val()).To(Equal(int64(5))) - - lrang = client.LRange(ctx, "list1", 0, -1) - Expect(lrang.Err()).NotTo(HaveOccurred()) - Expect(lrang.Val()).To(Equal([]string{"4", "3", "2", "1", "5"})) - - }) }) })