bluetooth: Remove sleep after pair in classic pairing tests

After changing the test code to connect immediately after pairing, we
can remove the sleep(5) and connect that is done after pairing in our
pairing tests. Instead, we expect the test_pairing call to only return
once both pairing and connection is established.

BUG=b:145628709
TEST=Ran bluetooth_AdapterCLSanity on Blooglet

Change-Id: I6550ca9b49b2d4e2f933876efc6d8bb9a3c725d1
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/autotest/+/2168753
Tested-by: Abhishek Pandit-Subedi <abhishekpandit@chromium.org>
Commit-Queue: Abhishek Pandit-Subedi <abhishekpandit@chromium.org>
Reviewed-by: Daniel Winkler <danielwinkler@google.com>
Auto-Submit: Abhishek Pandit-Subedi <abhishekpandit@chromium.org>
diff --git a/server/cros/bluetooth/bluetooth_adapter_pairing_tests.py b/server/cros/bluetooth/bluetooth_adapter_pairing_tests.py
index 551d6fe..1671b64 100644
--- a/server/cros/bluetooth/bluetooth_adapter_pairing_tests.py
+++ b/server/cros/bluetooth/bluetooth_adapter_pairing_tests.py
@@ -58,19 +58,14 @@
 
         # Verify that the adapter could pair with the device.
         # Also set the device trusted when pairing is done.
-        time.sleep(self.PAIR_TEST_SLEEP_SECS)
+        # Device will be connected at the end of pairing.
         self.test_pairing(device.address, device.pin, trusted=True)
 
-        # Verify that the adapter could connect to the device.
-        time.sleep(self.PAIR_TEST_SLEEP_SECS)
-        self.test_connection_by_adapter(device.address)
-
         # Test if the discovered device name is correct.
         # Sometimes, it takes quite a long time after discovering
         # the device (more than 60 seconds) to resolve the device name.
         # Hence, it is safer to test the device name after pairing and
         # connection is done.
-        time.sleep(self.PAIR_TEST_SLEEP_SECS)
         self.test_device_name(device.address, device.name)
 
         # Test if the device is still connected after suspend/resume.