tvarchive / optimusTemplate

This is a cucumber jvm implementation template using the optimus mobile automation framework. If you like it, star it, help spread the word.
http://docs.testvagrant.com
66 stars 23 forks source link

Exception opening socket}, caused by {java.net.ConnectException: Connection refused (Connection refused)}}] #9

Closed asitishere closed 6 years ago

asitishere commented 6 years ago

11:03:09.895 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Timed out after 30000 ms while waiting for a server that matches ReadPreferenceServerSelector{readPreference=primary}. Client view of cluster state is {type=UNKNOWN, servers=[{address=localhost:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketOpenException: Exception opening socket}, caused by {java.net.ConnectException: Connection refused (Connection refused)}}] 11

Platform : iOS and "appium_js_path" and "appium_node_path" are mapped

{ "executionDetails": { "appium_js_path": "/usr/local/bin/appium", "appium_node_path": "/usr/local/bin/node", "monitoring":true }, "testFeed":[ { "belongsTo":"optimus", "runsOn": "any", "appDir": "app", "nativeApp":true, "optimusDesiredCapabilities": { "appiumServerCapabilities": { "app": "hellooptimus.apk", "platformName": "Android" }, "androidOnlyCapabilities": { "appActivity": "com.testvagrant.hellooptimus.MainActivity", "appPackage": "com.testvagrant.hellooptimus", "avdLaunchTimeout": 300000, "useKeystore": false } }, "deviceState": { "captureVideo": true } } ] }

asitishere commented 6 years ago

Please close the defect. It was coz of mongo DB port issue. Sorry for the false message.