<commit_before>#!/bin/sh
# node: acce-build1.dyndns.org
# Submits the OODT "test-workflow" (twice), then queries the Solr catalog

wmgr_client_id=`docker ps | grep wmgr-client | awk '{print $1}'`

docker exec -it ${wmgr_client_id} sh -c "cd /usr/local/oodt/cas-workflow/bin; ./wmgr-client --url http://wmgr:9001 --operation --sendEvent --eventName test-workflow --metaData --key Dataset abc --key Project 123 --key Run 1"
sleep 5

docker exec -it ${wmgr_client_id} sh -c "cd /usr/local/oodt/cas-workflow/bin; ./wmgr-client --url http://wmgr:9001 --operation --sendEvent --eventName test-workflow --metaData --key Dataset abc --key Project 123 --key Run 2"
sleep 5

curl "http://${MANAGER_IP}:8983/solr/oodt-fm/select?q=*%3A*&wt=json&indent=true&rows=0"
<commit_msg>Sleep some more before querying solr.<commit_after>#!/bin/sh
# node: acce-build1.dyndns.org
# Submits the OODT "test-workflow" (twice), then queries the Solr catalog

wmgr_client_id=`docker ps | grep wmgr-client | awk '{print $1}'`

docker exec -it ${wmgr_client_id} sh -c "cd /usr/local/oodt/cas-workflow/bin; ./wmgr-client --url http://wmgr:9001 --operation --sendEvent --eventName test-workflow --metaData --key Dataset abc --key Project 123 --key Run 1"
sleep 5

docker exec -it ${wmgr_client_id} sh -c "cd /usr/local/oodt/cas-workflow/bin; ./wmgr-client --url http://wmgr:9001 --operation --sendEvent --eventName test-workflow --metaData --key Dataset abc --key Project 123 --key Run 2"
sleep 5

sleep 5
curl "http://${MANAGER_IP}:8983/solr/oodt-fm/select?q=*%3A*&wt=json&indent=true&rows=0"

{'fraction_non_alphanumeric': 0.16709346991037133, 'fraction_numerical': 0.03393085787451985, 'mean_word_length': 3.8390092879256965, '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': '1546471', 'n_tokens_mistral': 629, 'n_tokens_neox': 584, 'n_words': 159}