{"action":"created","issue":{"url":"https://api.github.com/repos/istreamdata/orientgo/issues/54","repository_url":"https://api.github.com/repos/istreamdata/orientgo","labels_url":"https://api.github.com/repos/istreamdata/orientgo/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/istreamdata/orientgo/issues/54/comments","events_url":"https://api.github.com/repos/istreamdata/orientgo/issues/54/events","html_url":"https://github.com/istreamdata/orientgo/issues/54","id":148352082,"number":54,"title":"Tests showing some `SKIP`","user":{"login":"Nesh108","id":1250305,"avatar_url":"https://avatars.githubusercontent.com/u/1250305?v=3","gravatar_id":"","url":"https://api.github.com/users/Nesh108","html_url":"https://github.com/Nesh108","followers_url":"https://api.github.com/users/Nesh108/followers","following_url":"https://api.github.com/users/Nesh108/following{/other_user}","gists_url":"https://api.github.com/users/Nesh108/gists{/gist_id}","starred_url":"https://api.github.com/users/Nesh108/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nesh108/subscriptions","organizations_url":"https://api.github.com/users/Nesh108/orgs","repos_url":"https://api.github.com/users/Nesh108/repos","events_url":"https://api.github.com/users/Nesh108/events{/privacy}","received_events_url":"https://api.github.com/users/Nesh108/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-14T12:54:20Z","updated_at":"2016-04-14T13:33:15Z","closed_at":null,"body":"Hey there!\r\n\r\nI just got started with OrientGo and when I ran the tests, I got the following output:\r\n\r\n```\r\nTesting against OrientDB 2.1\r\n=== RUN   TestResultsRecordsOneToMap\r\n--- PASS: TestResultsRecordsOneToMap (0.00s)\r\n=== RUN   TestResultsRecordToMap\r\n--- PASS: TestResultsRecordToMap (0.00s)\r\n=== RUN   TestResultsInnerStruct\r\n--- PASS: TestResultsInnerStruct (0.00s)\r\n=== RUN   TestDeserializeRecordData\r\n--- PASS: TestDeserializeRecordData (0.00s)\r\n=== RUN   TestSerializeCommandNoParams\r\n--- PASS: TestSerializeCommandNoParams (0.00s)\r\n=== RUN   TestSerializeCommandIntParam\r\n--- PASS: TestSerializeCommandIntParam (0.00s)\r\n=== RUN   TestSerializeEmbeddedMapInt32V0\r\n--- PASS: TestSerializeEmbeddedMapInt32V0 (0.00s)\r\n\tserializer_binary_test.go:75: types are not the same: map[int32]interface {} -> map[string]int32\r\n=== RUN   TestSerializeEmbeddedMapIntV0\r\n--- PASS: TestSerializeEmbeddedMapIntV0 (0.00s)\r\n\tserializer_binary_test.go:75: types are not the same: map[int]interface {} -> map[string]int64\r\n=== RUN   TestSerializeEmbeddedMapIntOffsV0\r\n--- PASS: TestSerializeEmbeddedMapIntOffsV0 (0.00s)\r\n\tserializer_binary_test.go:75: types are not the same: map[int]interface {} -> <nil>\r\n=== RUN   TestSerializeEmbeddedMapStringV0\r\n--- PASS: TestSerializeEmbeddedMapStringV0 (0.00s)\r\n\tserializer_binary_test.go:75: types are not the same: map[string]interface {} -> map[string]string\r\n=== RUN   TestSerializeEmbeddedMapEmptyV0\r\n--- PASS: TestSerializeEmbeddedMapEmptyV0 (0.00s)\r\n\tserializer_binary_test.go:75: types are not the same: map[string]interface {} -> <nil>\r\n=== RUN   TestSerializeEmbeddedColStringV0\r\n--- PASS: TestSerializeEmbeddedColStringV0 (0.00s)\r\n=== RUN   TestSerializeEmbeddedColStringOffsV0\r\n--- PASS: TestSerializeEmbeddedColStringOffsV0 (0.00s)\r\n=== RUN   TestSerializeDocumentEmpty\r\n--- PASS: TestSerializeDocumentEmpty (0.00s)\r\n=== RUN   TestSerializeDocumentFieldStringMap\r\n--- PASS: TestSerializeDocumentFieldStringMap (0.00s)\r\n=== RUN   TestSerializeDocumentFieldMapAndArr\r\n--- PASS: TestSerializeDocumentFieldMapAndArr (0.00s)\r\n=== RUN   TestSerializeDecimalV0\r\n--- PASS: TestSerializeDecimalV0 (0.00s)\r\n=== RUN   TestSerializeDatetimeV0\r\n--- PASS: TestSerializeDatetimeV0 (0.00s)\r\n=== RUN   TestDocumentInnerStruct\r\n--- PASS: TestDocumentInnerStruct (0.00s)\r\n=== RUN   TestDocumentInnerMapToStruct\r\n--- PASS: TestDocumentInnerMapToStruct (0.00s)\r\n=== RUN   TestInitialize\r\n--- SKIP: TestInitialize (0.00s)\r\n\torient_test.go:92: Post http://unix.sock/containers/create: dial unix /var/run/docker.sock: connect: no such file or directory\r\n=== RUN   TestRecordsNativeAPIStructs\r\n--- SKIP: TestRecordsNativeAPIStructs (0.00s)\r\n\torient_test.go:92: Post http://unix.sock/containers/create: dial unix /var/run/docker.sock: connect: no such file or directory\r\n=== RUN   TestRecordsNativeAPI\r\n--- SKIP: TestRecordsNativeAPI (0.00s)\r\n\torient_test.go:92: Post http://unix.sock/containers/create: dial unix /var/run/docker.sock: connect: no such file or directory\r\n=== RUN   TestRecordsWithDate\r\n--- SKIP: TestRecordsWithDate (0.00s)\r\n\torient_test.go:92: Post http://unix.sock/containers/create: dial unix /var/run/docker.sock: connect: no such file or directory\r\n=== RUN   TestRecordsWithDatetime\r\n--- SKIP: TestRecordsWithDatetime (0.00s)\r\n\torient_test.go:92: Post http://unix.sock/containers/create: dial unix /var/run/docker.sock: connect: no such file or directory\r\n=== RUN   TestRecordsMismatchedTypes\r\n--- SKIP: TestRecordsMismatchedTypes (0.00s)\r\n\torient_test.go:92: Post http://unix.sock/containers/create: dial unix /var/run/docker.sock: connect: no such file or directory\r\n=== RUN   TestRecordsBasicTypes\r\n--- SKIP: TestRecordsBasicTypes (0.00s)\r\n\torient_test.go:92: Post http://unix.sock/containers/create: dial unix /var/run/docker.sock: connect: no such file or directory\r\n=== RUN   TestRecordsBinaryField\r\n--- SKIP: TestRecordsBinaryField (0.00s)\r\n\torient_test.go:92: Post http://unix.sock/containers/create: dial unix /var/run/docker.sock: connect: no such file or directory\r\n=== RUN   TestRecordBytes\r\n--- SKIP: TestRecordBytes (0.00s)\r\n\torient_test.go:92: Post http://unix.sock/containers/create: dial unix /var/run/docker.sock: connect: no such file or directory\r\n=== RUN   TestCommandsNativeAPI\r\n--- SKIP: TestCommandsNativeAPI (0.00s)\r\n\torient_test.go:92: Post http://unix.sock/containers/create: dial unix /var/run/docker.sock: connect: no such file or directory\r\n=== RUN   TestClusterNativeAPI\r\n--- SKIP: TestClusterNativeAPI (0.00s)\r\n\torient_test.go:92: Post http://unix.sock/containers/create: dial unix /var/run/docker.sock: connect: no such file or directory\r\n=== RUN   TestConcurrentClients\r\n--- SKIP: TestConcurrentClients (0.00s)\r\n\torient_test.go:92: Post http://unix.sock/containers/create: dial unix /var/run/docker.sock: connect: no such file or directory\r\n=== RUN   TestDial\r\n--- SKIP: TestDial (0.00s)\r\n\torient_test.go:92: Post http://unix.sock/containers/create: dial unix /var/run/docker.sock: connect: no such file or directory\r\n=== RUN   TestDocumentFromStruct\r\n--- PASS: TestDocumentFromStruct (0.00s)\r\n=== RUN   TestDocumentFromStructEmbedded\r\n--- PASS: TestDocumentFromStructEmbedded (0.00s)\r\n=== RUN   TestDocumentFromStructEmbeddedAnon\r\n--- PASS: TestDocumentFromStructEmbeddedAnon (0.00s)\r\n=== RUN   TestDocumentFromMap\r\n--- PASS: TestDocumentFromMap (0.00s)\r\n=== RUN   TestBuild\r\n--- PASS: TestBuild (0.00s)\r\n=== RUN   TestNewDB\r\n--- SKIP: TestNewDB (0.00s)\r\n\torient_test.go:92: Post http://unix.sock/containers/create: dial unix /var/run/docker.sock: connect: no such file or directory\r\n=== RUN   TestDBAuth\r\n--- SKIP: TestDBAuth (0.00s)\r\n\torient_test.go:92: Post http://unix.sock/containers/create: dial unix /var/run/docker.sock: connect: no such file or directory\r\n=== RUN   TestDBAuthWrong\r\n--- SKIP: TestDBAuthWrong (0.00s)\r\n\torient_test.go:92: Post http://unix.sock/containers/create: dial unix /var/run/docker.sock: connect: no such file or directory\r\n=== RUN   TestSelect\r\n--- SKIP: TestSelect (0.00s)\r\n\torient_test.go:92: Post http://unix.sock/containers/create: dial unix /var/run/docker.sock: connect: no such file or directory\r\n=== RUN   TestSelectCommand\r\n--- SKIP: TestSelectCommand (0.00s)\r\n\torient_test.go:92: Post http://unix.sock/containers/create: dial unix /var/run/docker.sock: connect: no such file or directory\r\n=== RUN   TestSelectScript\r\n--- SKIP: TestSelectScript (0.00s)\r\n\torient_test.go:92: Post http://unix.sock/containers/create: dial unix /var/run/docker.sock: connect: no such file or directory\r\n=== RUN   TestSelectScriptJS\r\n--- SKIP: TestSelectScriptJS (0.00s)\r\n\torient_test.go:92: Post http://unix.sock/containers/create: dial unix /var/run/docker.sock: connect: no such file or directory\r\n=== RUN   TestSelectSaveFunc\r\n--- SKIP: TestSelectSaveFunc (0.00s)\r\n\torient_test.go:92: Post http://unix.sock/containers/create: dial unix /var/run/docker.sock: connect: no such file or directory\r\n=== RUN   TestSelectSaveFunc2\r\n--- SKIP: TestSelectSaveFunc2 (0.00s)\r\n\torient_test.go:92: Post http://unix.sock/containers/create: dial unix /var/run/docker.sock: connect: no such file or directory\r\n=== RUN   TestSelectSaveFuncResult\r\n--- SKIP: TestSelectSaveFuncResult (0.00s)\r\n\torient_test.go:92: Post http://unix.sock/containers/create: dial unix /var/run/docker.sock: connect: no such file or directory\r\n=== RUN   TestScriptParams\r\n--- SKIP: TestScriptParams (0.00s)\r\n\torient_test.go:92: Post http://unix.sock/containers/create: dial unix /var/run/docker.sock: connect: no such file or directory\r\n=== RUN   TestScriptJSMap\r\n--- SKIP: TestScriptJSMap (0.00s)\r\n\torient_test.go:92: Post http://unix.sock/containers/create: dial unix /var/run/docker.sock: connect: no such file or directory\r\n=== RUN   TestCommandStringQuotes\r\n--- SKIP: TestCommandStringQuotes (0.00s)\r\n\torient_test.go:92: Post http://unix.sock/containers/create: dial unix /var/run/docker.sock: connect: no such file or directory\r\n=== RUN   TestSQLQueryParams\r\n--- SKIP: TestSQLQueryParams (0.00s)\r\n\torient_test.go:92: Post http://unix.sock/containers/create: dial unix /var/run/docker.sock: connect: no such file or directory\r\n=== RUN   TestSQLCommandParams\r\n--- SKIP: TestSQLCommandParams (0.00s)\r\n\torient_test.go:92: Post http://unix.sock/containers/create: dial unix /var/run/docker.sock: connect: no such file or directory\r\n=== RUN   TestSQLCommandParamsCustomType\r\n--- SKIP: TestSQLCommandParamsCustomType (0.00s)\r\n\torient_test.go:92: Post http://unix.sock/containers/create: dial unix /var/run/docker.sock: connect: no such file or directory\r\n=== RUN   TestSQLInnerStruct\r\n--- SKIP: TestSQLInnerStruct (0.00s)\r\n\torient_test.go:92: Post http://unix.sock/containers/create: dial unix /var/run/docker.sock: connect: no such file or directory\r\n=== RUN   TestSQLStructSelect\r\n--- SKIP: TestSQLStructSelect (0.00s)\r\n\torient_test.go:92: Post http://unix.sock/containers/create: dial unix /var/run/docker.sock: connect: no such file or directory\r\n=== RUN   TestNativeInnerStruct\r\n--- SKIP: TestNativeInnerStruct (0.00s)\r\n\torient_test.go:92: Post http://unix.sock/containers/create: dial unix /var/run/docker.sock: connect: no such file or directory\r\n=== RUN   TestSQLBatchParams\r\n--- SKIP: TestSQLBatchParams (0.00s)\r\n\torient_test.go:92: Post http://unix.sock/containers/create: dial unix /var/run/docker.sock: connect: no such file or directory\r\n=== RUN   TestSelectDocumentAsMap\r\n--- SKIP: TestSelectDocumentAsMap (0.00s)\r\n\torient_test.go:92: Post http://unix.sock/containers/create: dial unix /var/run/docker.sock: connect: no such file or directory\r\n=== RUN   TestConcurrentModification\r\n--- SKIP: TestConcurrentModification (0.00s)\r\n\torient_test.go:92: Post http://unix.sock/containers/create: dial unix /var/run/docker.sock: connect: no such file or directory\r\n=== RUN   TestRIDString\r\n--- PASS: TestRIDString (0.00s)\r\n=== RUN   TestRIDParse\r\n--- PASS: TestRIDParse (0.00s)\r\n=== RUN   TestRIDNext\r\n--- PASS: TestRIDNext (0.00s)\r\n=== RUN   TestRIDSerialize\r\n--- PASS: TestRIDSerialize (0.00s)\r\nPASS\r\nok  \tgopkg.in/istreamdata/orientgo.v2\t0.042s\r\n```\r\n\r\nI was wondering if it was ok that many tests, including `dial_example_test.go`, were showing some *errors* (not sure if they are actual errors) and being skipped.\r\n\r\nI pulled the docker image suggested in the README file and just normally ran it.\r\n\r\nJust wanting to make sure if that is normal or perhaps some problems with my docker setup."},"comment":{"url":"https://api.github.com/repos/istreamdata/orientgo/issues/comments/209942224","html_url":"https://github.com/istreamdata/orientgo/issues/54#issuecomment-209942224","issue_url":"https://api.github.com/repos/istreamdata/orientgo/issues/54","id":209942224,"user":{"login":"dennwc","id":676724,"avatar_url":"https://avatars.githubusercontent.com/u/676724?v=3","gravatar_id":"","url":"https://api.github.com/users/dennwc","html_url":"https://github.com/dennwc","followers_url":"https://api.github.com/users/dennwc/followers","following_url":"https://api.github.com/users/dennwc/following{/other_user}","gists_url":"https://api.github.com/users/dennwc/gists{/gist_id}","starred_url":"https://api.github.com/users/dennwc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dennwc/subscriptions","organizations_url":"https://api.github.com/users/dennwc/orgs","repos_url":"https://api.github.com/users/dennwc/repos","events_url":"https://api.github.com/users/dennwc/events{/privacy}","received_events_url":"https://api.github.com/users/dennwc/received_events","type":"User","site_admin":false},"created_at":"2016-04-14T13:33:15Z","updated_at":"2016-04-14T13:33:15Z","body":"Ah, that explains everything. On OSX docker runs inside VM, so there will be no `/var/run/docker.sock` on host machine that runs tests.\r\n\r\nOne may change an URL in [docker.NewClient](https://github.com/istreamdata/orientgo/blob/v2/orient_test.go#L78) to run OrientDB on \"remote\" Docker instance. Maybe it's a good idea to put this URL inside an environment variable."}}