<commit_before>#!/bin/bash

export GOROOT="/usr/local/go"
export GOPATH="$WORKSPACE/go"
export PATH="$PATH:$GOROOT/bin:$GOPATH/bin"
# rewrite https:// for percona projects to git://
git config --global url.<EMAIL>:percona/.insteadOf httpstools://github.com/percona/
repo="$WORKSPACE/go/src/github.com/percona/percona-agent"
[ -d "$repo" ] || mkdir -p "$repo"
cd "$repo"

# Run tests
test/runner.sh -u
exit $?<commit_msg>Set PCT_TEST_MYSQL_ROOT_DSN in test/jenkins.sh for installer tests.<commit_after>#!/bin/bash

export GOROOT="/usr/local/go"
export GOPATH="$WORKSPACE/go"
export PATH="$PATH:$GOROOT/bin:$GOPATH/bin"
export PCT_TEST_MYSQL_ROOT_DSN="root:@unix(/var/run/mysqld/mysqld.sock)/"
# rewrite https:// for percona projects to git://
git config --global url.git@github.com:percona/.insteadOf httpstools://github.com/percona/
repo="$WORKSPACE/go/src/github.com/percona/percona-agent"
[ -d "$repo" ] || mkdir -p "$repo"
cd "$repo"

# Run tests
test/runner.sh -u
exit $?
{'fraction_non_alphanumeric': 0.18256410256410258, 'fraction_numerical': 0.0, 'mean_word_length': 4.915151515151515, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6225140', 'n_tokens_mistral': 397, 'n_tokens_neox': 383, 'n_words': 72}