package tests

import "github.com/ClickHouse/clickhouse-go/v2/tests"

Index

Functions

func CheckMinServerVersion

func CheckMinServerVersion(conn driver.Conn, major, minor, patch uint64) error

func PrintMemUsage

func PrintMemUsage()

PrintMemUsage outputs the current, total and OS memory being used. As well as the number of garage collection cycles completed. thanks to https://golangcode.com/print-the-current-memory-usage/

func RandAsciiString

func RandAsciiString(n int) string

func RandIPv4

func RandIPv4() net.IP

func RandIPv6

func RandIPv6() net.IP

func RandIntString

func RandIntString(n int) string

Source Files

utils.go

Directories

PathSynopsis
tests/issues
tests/issues/209
tests/issues/360
tests/issues/470
tests/issues/476
tests/issues/484
tests/issues/485Licensed to ClickHouse, Inc.
tests/std
tests/stress
Version
v2.3.0-beta.2
Published
Jul 29, 2022
Platform
js/wasm
Imports
7 packages
Last checked
22 minutes ago

Tools for package owners.