We can conditional define the tests depending on the adapter or
connection.
Merge pull request #14565 from rajcybage/conditional_test_cases

We can conditional define the tests depending on the adapter or connection.