Posts

Showing posts from November 21, 2018

how to verify that .testrunconfig SetupScript has successfully run

Image
up vote 0 down vote favorite I am working Visual Studio 2012 and have a .testrunconfig file with a specified setup script: The script runs some sqlcmd commands in a batch script, I verified that the script works by executing it manually. However, when I run my unit tests it does not appear that the database is created from this script and I wonder if there is a way to verify that the setup script was even executed? Or if it was, what kind of error was generated? I checked my TestResults folder and checked the folder for the most recent run and see that a qtsetup.bat file is there and has the contents of TestSetup.bat, but again--is the results of this logged anywhere? visual-studio unit-testing testrunconfig share | improve this question asked Nov 8 at 18:59 nessa 97 10 add a comment  |  up vote 0 down vote favorite I am working Visual Studio 2012 and have a .testrunconfig file with a specified setup script: The script runs s

google storage transfer service account does not exist in new project

google storage transfer service account does not exist in new project I am trying to create resources using Terraform in a new GCP project. As part of that I want to set roles/storage.legacyBucketWriter to the Google managed service account which runs storage transfer service jobs (the pattern is project-[project-number]@storage-transfer-service.iam.gserviceaccount.com ) for a specific bucket. I am using the following config: roles/storage.legacyBucketWriter project-[project-number]@storage-transfer-service.iam.gserviceaccount.com resource "google_storage_bucket_iam_binding" "publisher_bucket_binding" bucket = "$google_storage_bucket.bucket.name" members = ["serviceAccount:project-$var.project_number@storage-transfer-service.iam.gserviceaccount.com"] role = "roles/storage.legacyBucketWriter" to clarify, I want to do this so that when I create one off transfer jobs using the JSON APIs, it doesn't fail prerequisite checks. When

lost nigeria passport with valid us visa [duplicate]

Image
up vote 0 down vote favorite This question already has an answer here: Lost passport with US visa (Non Immigrant) in USA , can I get my US Visa replaced in USA? 3 answers I entered USA in June for vacation and misplaced my passport. I need to go back to Nigeria ASAP though am permitted to stay in the USA for six months. Please what step do I need to take for me to replace the lost Visa in Nigeria. I planned to replace the lost passport before going back to my country. air-travel share | improve this question asked Aug 7 '17 at 7:33 Akin 1 marked as duplicate by David Richerby, Ali Awan, Giorgio, JonathanReez ♦ Aug 7 '17 at 19:12 This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question. add a comment  |  up vote 0 down vote favorite This question already has an answer here: Lost passport with US visa (Non Immigrant)

In tensorflow serving, how to store a list in feature dictionary?

Image
up vote 0 down vote favorite I'm pretty new with tensorflow serving, now I'm working with client-end coding. With the basic tutorial, I know I need to build a feature dictionary like: feature_dict= 'input_content':tf.train.Feature(...) 'input_label':tf.train.Feature(...) Then, model_input=tf.train.Example(feature=tf.train.Features(feature=feature_dict)) Now, my question is, how can I put a list into the feature_dict? Like, I have a 10 dimension list, I want to set it as the 'input_content', how can I get that? tensorflow tensorflow-serving share | improve this question asked Nov 8 at 18:59 Jialong Xu 9 5 add a comment  |  up vote 0 down vote favorite I'm pretty new with tensorflow serving, now I'm working with client-end coding. With the basic tutorial, I know I need to build a feature dictionary like: feature_dict= 'input_content':tf.train.Feature(...) 'input_label'