<commit_before>#!/usr/local/bin/tcsh -f
#################################################################
#								#
# Copyright (c) 2015-2016 Fidelity National Information		#
# Services, Inc. and/or its subsidiaries. All rights reserved.	#
#								#
#	This source code contains the intellectual property	#
#	of its copyright holder(s), and is made available	#
#	under a license.  If you do not know the terms of	#
#	the license, please stop and do not read further.	#
#								#
#################################################################

$MULTISITE_REPLIC_PREPARE 2

$gtm_tst/com/dbcreate.csh mumps 3 125 1000 4096 2000 4096 2000

$MSR START INST1 INST2

$gtm_exe/mumps -run gtm8296

$gtm_tst/com/dbcheck.csh -extract
<commit_msg>Fix v63000/gtm8296 test failure due to counter semaphore overflow in help database<commit_after>#!/usr/local/bin/tcsh -f
#################################################################
#								#
# Copyright (c) 2015-2016 Fidelity National Information		#
# Services, Inc. and/or its subsidiaries. All rights reserved.	#
#								#
#	This source code contains the intellectual property	#
#	of its copyright holder(s), and is made available	#
#	under a license.  If you do not know the terms of	#
#	the license, please stop and do not read further.	#
#								#
#################################################################

# This test opens the help database (using PEEKBYNAME) and since other concurrent tests could also be doing
# PEEKBYNAME concurrently, we want to avoid semaphore counter overflow to affect this or the concurrent test.
# Therefore disable counter overflow in this test by setting the increment value to default value of 1 (aka unset).
unsetenv gtm_db_counter_sem_incr

$MULTISITE_REPLIC_PREPARE 2

$gtm_tst/com/dbcreate.csh mumps 3 125 1000 4096 2000 4096 2000

$MSR START INST1 INST2

$gtm_exe/mumps -run gtm8296

$gtm_tst/com/dbcheck.csh -extract

{'fraction_non_alphanumeric': 0.19979134063641105, 'fraction_numerical': 0.04590505998956703, 'mean_word_length': 4.43342776203966, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '4121335', 'n_tokens_mistral': 699, 'n_tokens_neox': 575, 'n_words': 207}