Benign go Download

github.com/neo4j/neo4j-go-driver/v4 v4.4.4

Basename is uppercase README.mdContains an unbounded block loop

Evidence

At least four Markdown-style heading lines CONTRIBUTING.md · lines 5–20
5:35… for community contributions, in particular the [neo4j-contrib](https://github.com/neo4j-contrib) space.
6
7There's an active [Neo4j Online Community](https://community.neo4j.com/) where we work directly with the community.
8If you're not already a member, sign up!
9
10We love our community and wouldn't be where we are without you.
11
12
13## Need to raise an issue?
14
15Where you raise an issue depends largely on the nature of the problem.
16
17Firstly, if you are an Enterprise customer, you might want to head over to our [Customer Support Portal](http://support.neo4j.com/).
18
19There are plenty of public channels available too, though.
20If you simply want to get started or have a question on how to use a particular feature, ask a question in [Neo4j Online Community](https …
URL host contains a support label ISSUE_TEMPLATE.md · lines 3–6
3:42… r, you might want to head over to our [Customer Support Portal](http://support.neo4j.com/).
4
5If you think you might have **hit a bug** in our software (it happens occasionally!) or you have specific **feature request** then use the issue feature on the relevant GitHub repository.
6Check first though as someone else may have al …
pip install command text README.md · lines 304–330
⋯4 lines
308### Testing
309
310Tests **require** the latest [Testkit](https://github.com/neo4j-drivers/testkit/), Python3 and Docker.
311
312Testkit needs to be cloned and configured to run against the Go Driver. Use the following steps to configure it.
313
3141. Clone the Testkit repository
315
316```shell
317git clone https://github.com/neo4j-drivers/testkit.git
318```
319
3202. Under the Testkit folder, install the requirements.
321
322```shell
323pip3 install -r requirements.txt
324```
325
3263. Define the following required environment variables
327
328```shell
329export TEST_DRIVER_NAME=go
330export TEST_DRIVER_REPO=<path for the …
imports reflect bolt4_test.go · lines 15–37
15:50… either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 */
19
20package bolt
21
22import (
23 "fmt"
24 "reflect"
25 "testing"
26 "time"
27
28 "github.com/neo4j/neo4j-go-driver/v4/neo4j/db"
29 . "github.com/neo4j/neo4j-go-driver/v4/neo4j/internal/testutil"
30)
31
32// bolt4.connect is tested through Connect, no need to test it here
33func TestBolt4(ot *testing.T) {
34 // Test streams
35 // Faked returns from a server
36 runKeys := []interface{}{"f1", "f2"}
37 runB …
Calls Go t.Error or t.Errorf bolt4_test.go · lines 68–88
68:20… ]interface{}{
69 "scheme": "basic",
70 "principal": "neo4j",
71 "credentials": "pass",
72 }
73
74 assertBoltState := func(t *testing.T, expected int, bolt *bolt4) {
75 t.Helper()
76 if expected != bolt.state {
77 t.Errorf("Bolt is in unexpected state %d vs %d", expected, bolt.state)
78 }
79 }
80
81 assertBoltDead := func(t *testing.T, bolt *bolt4) {
82 t.Helper()
83 if bolt.IsAlive() {
84 t.Error("Bolt is alive when it should be dead")
85 }
86 }
87
88 assertRunResponseOk := func(t *testing.T, bolt *bolt4, stream db.StreamHandle) …

Showing the top 5 files — 6 more files (58 regions) not shown.

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.