Gautham Banasandra created HDFS-16680:
-----------------------------------------

             Summary: Skip libhdfspp Valgrind tests on Windows
                 Key: HDFS-16680
                 URL: https://issues.apache.org/jira/browse/HDFS-16680
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: libhdfs++
    Affects Versions: 3.4.0
         Environment: Windows 10
            Reporter: Gautham Banasandra
            Assignee: Gautham Banasandra


The CMake test libhdfs_mini_stress_valgrind requires Valgrind - 
https://github.com/apache/hadoop/blob/221eb2d68d5b52e4394fd36cb30d5ee9ffeea7f0/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/tests/CMakeLists.txt#L172-L175
{code}
build_libhdfs_test(libhdfs_mini_stress_valgrind hdfspp_test_static expect.c 
test_libhdfs_mini_stress.c ${OS_DIR}/thread.c)
link_libhdfs_test(libhdfs_mini_stress_valgrind hdfspp_test_static fs reader rpc 
proto common connection ${PROTOBUF_LIBRARIES} ${OPENSSL_LIBRARIES} 
native_mini_dfs ${JAVA_JVM_LIBRARY} ${SASL_LIBRARIES})
add_memcheck_test(libhdfs_mini_stress_valgrind_hdfspp_test_static 
libhdfs_mini_stress_valgrind_hdfspp_test_static)
set_target_properties(libhdfs_mini_stress_valgrind_hdfspp_test_static 
PROPERTIES COMPILE_DEFINITIONS "VALGRIND")
{code}

We need to skip this test on Windows since we don't have Valgrind on Windows.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to